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.001591/0.001591, allocations: 112.4 kB / 17.09 MB, free: 5.984 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.00194/0.00194, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.374/1.374, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1965/0.1965, allocations: 43.52 MB / 314.8 MB, free: 460 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.001614/0.001614, allocations: 65.47 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1048, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01536/0.1202, allocations: 14.21 MB / 0.5024 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009498/0.1297, allocations: 4.634 MB / 0.507 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/0.1322, allocations: 91.75 kB / 0.507 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007551/0.1397, allocations: 4.221 MB / 0.5112 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.1453, allocations: 2.319 MB / 0.5134 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.1481, allocations: 0.9242 MB / 0.5143 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008355/0.1565, allocations: 5.847 MB / 0.52 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007002/0.1635, allocations: 5.266 MB / 0.5252 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.1675, allocations: 2.193 MB / 0.5273 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004654/0.1721, allocations: 2.944 MB / 0.5302 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001503/0.1737, allocations: 495.9 kB / 0.5307 GB, free: 464 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2291/0.4028, allocations: 1.362 MB / 0.532 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004137/0.407, allocations: 2.652 MB / 0.5346 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004848/0.4119, allocations: 2.996 MB / 0.5375 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.4261, allocations: 9.543 MB / 0.5468 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.4262, allocations: 0 / 0.5468 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4262, allocations: 3.938 kB / 0.5468 GB, free: 10.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003944/0.4266, allocations: 1.031 kB / 0.5468 GB, free: 10.46 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.02114/0.4478, allocations: 6.328 MB / 0.553 GB, free: 8.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4478, allocations: 15.42 kB / 0.553 GB, free: 8.023 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.4602, allocations: 2.605 MB / 0.5556 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00971/0.47, allocations: 4.038 MB / 0.5595 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.4702, allocations: 314.8 kB / 0.5598 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001134/0.4714, allocations: 423 kB / 0.5602 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02273/0.4941, allocations: 11.98 MB / 0.5719 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/0.4943, allocations: 54.09 kB / 0.572 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005884/0.4949, allocations: 193.3 kB / 0.5722 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003587/0.4985, allocations: 2.207 MB / 0.5743 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02048/0.519, allocations: 10.13 MB / 0.5842 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07195/0.591, allocations: 46.9 MB / 0.63 GB, free: 6.527 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.6032, allocations: 4.385 MB / 0.6343 GB, free: 2.012 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003824/0.6071, allocations: 2.515 MB / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01946/0.6265, allocations: 9.989 MB / 0.6465 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.6266, allocations: 56.75 kB / 0.6466 GB, free: 5.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 5.28e-06/0.6266, allocations: 0 / 0.6466 GB, free: 5.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.06246/0.6891, allocations: 20.79 MB / 0.6669 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.6893, allocations: 197.2 kB / 0.6671 GB, free: 272 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007772/0.6971, allocations: 4.824 MB / 0.6718 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005476/0.6976, allocations: 57.7 kB / 0.6718 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002983/0.7006, allocations: 3.719 MB / 0.6755 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/0.7019, allocations: 0.8123 MB / 0.6762 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002075/0.704, allocations: 1.38 MB / 0.6776 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7041, allocations: 301.1 kB / 0.6779 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004255/0.7084, allocations: 2.559 MB / 0.6804 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00689/0.7153, allocations: 6.517 MB / 0.6867 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/0.7276, allocations: 9.728 MB / 0.6962 GB, free: 15.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001677/0.7279, allocations: 43.94 kB / 0.6963 GB, free: 15.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=888) (initialization): time 0.02226/0.7501, allocations: 10.18 MB / 0.7062 GB, free: 5.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.7503, allocations: 64 kB / 0.7063 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002497/0.7506, allocations: 143.6 kB / 0.7064 GB, free: 4.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004885/0.7555, allocations: 1.606 MB / 0.708 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005711/0.7612, allocations: 1.548 MB / 0.7095 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/0.7757, allocations: 10.01 MB / 0.7193 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0065/0.7823, allocations: 379.5 kB / 0.7196 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001639/0.7839, allocations: 411 kB / 0.72 GB, free: 6.762 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.006724/0.7907, allocations: 2.574 MB / 0.7225 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/0.792, allocations: 422.5 kB / 0.723 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.8027, allocations: 4.552 MB / 0.7274 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.61e-05/0.8028, allocations: 7.969 kB / 0.7274 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.8028, allocations: 4 kB / 0.7274 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002779/0.8056, allocations: 0.7728 MB / 0.7282 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001494/0.8071, allocations: 36 kB / 0.7282 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002772/0.8099, allocations: 123.8 kB / 0.7283 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005892/0.8105, allocations: 153 kB / 0.7285 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01118/0.8217, allocations: 4.915 MB / 0.7333 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01006/0.8318, allocations: 6.235 MB / 0.7393 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002524/0.8343, allocations: 1.646 MB / 0.741 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007852/0.8422, allocations: 3.053 MB / 0.7439 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of Backend: time 1.212e-06/0.8423, allocations: 0 / 0.7439 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01565/0.8579, allocations: 5.074 MB / 0.7489 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of SimCode: time 0.2694/1.127, allocations: 11.49 MB / 0.7601 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1026/1.23, allocations: 56.47 MB / 0.8153 GB, free: 175.8 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