Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001414, allocations: 103.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 213.8 kB / 18.92 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.1 MB, free: 10.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.13 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 76.33 kB / 417.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1241, allocations: 62.45 MB / 480.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.2804/0.4045, allocations: 65.47 MB / 0.5329 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03114/0.4356, allocations: 13.04 MB / 0.5456 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0159/0.4516, allocations: 287.2 kB / 0.5459 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008262/0.4599, allocations: 4.047 MB / 0.5499 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006823/0.4668, allocations: 1.987 MB / 0.5518 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.4693, allocations: 0.8692 MB / 0.5526 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009787/0.4792, allocations: 6.469 MB / 0.559 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008366/0.4876, allocations: 5.442 MB / 0.5643 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004677/0.4923, allocations: 2.15 MB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005376/0.4977, allocations: 3.112 MB / 0.5694 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00172/0.4995, allocations: 471.9 kB / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/0.5035, allocations: 1.354 MB / 0.5712 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004277/0.5078, allocations: 2.529 MB / 0.5737 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005785/0.5136, allocations: 2.855 MB / 0.5764 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009994/0.5236, allocations: 7.235 MB / 0.5835 GB, free: 13.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.5237, allocations: 0 / 0.5835 GB, free: 13.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5237, allocations: 0 / 0.5835 GB, free: 13.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002949/0.524, allocations: 0 / 0.5835 GB, free: 13.37 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.01609/0.5401, allocations: 6.059 MB / 0.5894 GB, free: 7.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5402, allocations: 11.97 kB / 0.5894 GB, free: 7.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.5526, allocations: 2.572 MB / 0.592 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008941/0.5616, allocations: 3.723 MB / 0.5956 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.5619, allocations: 308 kB / 0.5959 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/0.5635, allocations: 412 kB / 0.5963 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02317/0.5867, allocations: 11.27 MB / 0.6073 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/0.587, allocations: 55.52 kB / 0.6073 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008706/0.5879, allocations: 195.8 kB / 0.6075 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003861/0.5917, allocations: 2.022 MB / 0.6095 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02056/0.6123, allocations: 9.539 MB / 0.6188 GB, free: 8.301 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06446/0.6768, allocations: 45.11 MB / 0.6629 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.6879, allocations: 4.147 MB / 0.6669 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003598/0.6915, allocations: 2.336 MB / 0.6692 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01604/0.7076, allocations: 9.379 MB / 0.6784 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.7077, allocations: 59.5 kB / 0.6784 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=169): time 4.579e-06/0.7077, allocations: 0 / 0.6784 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of matching and sorting (n=191): time 0.05537/0.763, allocations: 19.29 MB / 0.6973 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.7632, allocations: 205.2 kB / 0.6974 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007018/0.7702, allocations: 4.693 MB / 0.702 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003958/0.7707, allocations: 57.7 kB / 0.7021 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002953/0.7736, allocations: 3.548 MB / 0.7056 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.7748, allocations: 0.7444 MB / 0.7063 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002129/0.7769, allocations: 1.325 MB / 0.7076 GB, free: 11.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.7771, allocations: 301.1 kB / 0.7079 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/0.7809, allocations: 2.382 MB / 0.7102 GB, free: 8.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007399/0.7884, allocations: 6.207 MB / 0.7162 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2222/1.011, allocations: 9.222 MB / 0.7253 GB, free: 185.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/1.011, allocations: 39.91 kB / 0.7253 GB, free: 185.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01966/1.03, allocations: 9.691 MB / 0.7348 GB, free: 181.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.031, allocations: 62.28 kB / 0.7348 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000227/1.031, allocations: 135.1 kB / 0.7349 GB, free: 181.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005017/1.036, allocations: 1.606 MB / 0.7365 GB, free: 181.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/1.041, allocations: 1.469 MB / 0.7379 GB, free: 181.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.051, allocations: 10.01 MB / 0.7477 GB, free: 175.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.057, allocations: 359.5 kB / 0.7481 GB, free: 175.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.058, allocations: 389.7 kB / 0.7484 GB, free: 175.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (787): * Single equations (assignments): 782 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003793/1.062, allocations: 2.452 MB / 0.7508 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008146/1.063, allocations: 402.9 kB / 0.7512 GB, free: 174.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007132/1.07, allocations: 4.169 MB / 0.7553 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.163e-05/1.07, allocations: 28.41 kB / 0.7553 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/1.07, allocations: 11.94 kB / 0.7553 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.342e-05/1.07, allocations: 11.92 kB / 0.7553 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/1.087, allocations: 9.56 MB / 0.7647 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/1.087, allocations: 7.281 kB / 0.7647 GB, free: 165.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/1.088, allocations: 287.5 kB / 0.765 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003759/1.092, allocations: 1.362 MB / 0.7663 GB, free: 164.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003564/1.093, allocations: 32 kB / 0.7663 GB, free: 164.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009701/1.102, allocations: 9.393 MB / 0.7755 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.102, allocations: 0 / 0.7755 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009477/1.112, allocations: 6.874 MB / 0.7822 GB, free: 147.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.113, allocations: 451.7 kB / 0.7826 GB, free: 147.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000642/1.114, allocations: 30.38 kB / 0.7827 GB, free: 147.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.115, allocations: 111.8 kB / 0.7828 GB, free: 147.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/1.116, allocations: 125 kB / 0.7829 GB, free: 147.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.116, allocations: 51.98 kB / 0.7829 GB, free: 147.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004064/1.12, allocations: 2.956 MB / 0.7858 GB, free: 144.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.01e-07/1.12, allocations: 4 kB / 0.7858 GB, free: 144.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005373/1.125, allocations: 1.169 MB / 0.787 GB, free: 143 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 136 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004953/1.126, allocations: 165.2 kB / 0.7871 GB, free: 142.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.136, allocations: 6.909 MB / 0.7939 GB, free: 136 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/1.136, allocations: 0 / 0.7939 GB, free: 136 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002697/1.139, allocations: 1.982 MB / 0.7958 GB, free: 134 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003146/1.142, allocations: 0.5263 MB / 0.7963 GB, free: 133.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.161, allocations: 13.92 MB / 0.8099 GB, free: 119.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004682/1.165, allocations: 3.794 MB / 0.8136 GB, free: 115.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.166, allocations: 315.4 kB / 0.8139 GB, free: 115.4 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/1.166, allocations: 0 / 0.8139 GB, free: 115.4 MB / 0.545 GB Notification: Performance of Templates: time 0.3376/1.504, allocations: 111.3 MB / 0.9226 GB, free: 179.1 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches