Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 104.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 198.2 kB / 18.02 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.201/0.201, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 68.45 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1068, allocations: 57.79 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01454/0.1214, allocations: 14.2 MB / 0.5024 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009094/0.1305, allocations: 4.645 MB / 0.507 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.1326, allocations: 91.75 kB / 0.507 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007201/0.1399, allocations: 4.225 MB / 0.5112 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005881/0.1458, allocations: 2.26 MB / 0.5134 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.1483, allocations: 0.9204 MB / 0.5143 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00895/0.1573, allocations: 5.847 MB / 0.52 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007189/0.1645, allocations: 5.258 MB / 0.5251 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003698/0.1682, allocations: 2.189 MB / 0.5273 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004494/0.1727, allocations: 2.956 MB / 0.5301 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.1741, allocations: 492 kB / 0.5306 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2363/0.4104, allocations: 1.359 MB / 0.5319 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003534/0.4139, allocations: 2.649 MB / 0.5345 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004561/0.4185, allocations: 2.999 MB / 0.5375 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.4306, allocations: 9.548 MB / 0.5468 GB, free: 10.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4306, allocations: 1.375 kB / 0.5468 GB, free: 10.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4307, allocations: 0 / 0.5468 GB, free: 10.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003493/0.431, allocations: 0 / 0.5468 GB, free: 10.41 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.01935/0.4504, allocations: 6.333 MB / 0.553 GB, free: 7.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.4504, allocations: 12.27 kB / 0.553 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.4632, allocations: 2.603 MB / 0.5555 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.4736, allocations: 4.043 MB / 0.5595 GB, free: 6.348 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/0.474, allocations: 309.6 kB / 0.5598 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002552/0.4766, allocations: 418.2 kB / 0.5602 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0221/0.4987, allocations: 11.98 MB / 0.5719 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003059/0.499, allocations: 58.7 kB / 0.5719 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/0.5009, allocations: 189.5 kB / 0.5721 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003779/0.5047, allocations: 2.204 MB / 0.5743 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/0.5263, allocations: 10.14 MB / 0.5842 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06602/0.5923, allocations: 46.91 MB / 0.63 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.6031, allocations: 4.386 MB / 0.6342 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003825/0.607, allocations: 2.515 MB / 0.6367 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01868/0.6257, allocations: 9.981 MB / 0.6464 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/0.6258, allocations: 55.06 kB / 0.6465 GB, free: 5.477 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 5.55e-06/0.6258, allocations: 0 / 0.6465 GB, free: 5.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.05846/0.6843, allocations: 20.8 MB / 0.6668 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.6844, allocations: 197.2 kB / 0.667 GB, free: 400 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007804/0.6922, allocations: 4.827 MB / 0.6717 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005547/0.6928, allocations: 53.7 kB / 0.6718 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002353/0.6952, allocations: 3.716 MB / 0.6754 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.6962, allocations: 0.8133 MB / 0.6762 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001809/0.698, allocations: 1.384 MB / 0.6775 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.6981, allocations: 305.1 kB / 0.6778 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003534/0.7016, allocations: 2.551 MB / 0.6803 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006011/0.7077, allocations: 6.513 MB / 0.6867 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.7187, allocations: 9.729 MB / 0.6962 GB, free: 15.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.218e-05/0.7189, allocations: 43.94 kB / 0.6962 GB, free: 15.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01881/0.7377, allocations: 10.18 MB / 0.7062 GB, free: 5.336 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.528e-05/0.7378, allocations: 64 kB / 0.7062 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/0.7379, allocations: 140 kB / 0.7064 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004287/0.7422, allocations: 1.61 MB / 0.7079 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005385/0.7476, allocations: 1.552 MB / 0.7094 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.76, allocations: 10.01 MB / 0.7192 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006299/0.7664, allocations: 379.5 kB / 0.7196 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/0.7675, allocations: 407.4 kB / 0.72 GB, free: 6.906 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 45 (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 (828): * Single equations (assignments): 823 * 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.005031/0.7725, allocations: 2.569 MB / 0.7225 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008885/0.7734, allocations: 430.5 kB / 0.7229 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008568/0.782, allocations: 4.537 MB / 0.7273 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/0.782, allocations: 19.89 kB / 0.7273 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.782, allocations: 4 kB / 0.7273 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/0.7839, allocations: 0.7767 MB / 0.7281 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005845/0.7845, allocations: 32 kB / 0.7281 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/0.7862, allocations: 127.8 kB / 0.7283 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000364/0.7865, allocations: 153 kB / 0.7284 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008739/0.7953, allocations: 4.911 MB / 0.7332 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00799/0.8033, allocations: 6.239 MB / 0.7393 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002061/0.8054, allocations: 1.642 MB / 0.7409 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004988/0.8104, allocations: 3.042 MB / 0.7439 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of Backend: time 3.7e-07/0.8104, allocations: 0 / 0.7439 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01093/0.8213, allocations: 5.078 MB / 0.7488 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of SimCode: time 0.2685/1.09, allocations: 11.51 MB / 0.7601 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1014/1.191, allocations: 56.84 MB / 0.8156 GB, free: 175.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches