Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.GearConstraint,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.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,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.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 109.1 kB / 17.09 MB, free: 6.004 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.001119/0.001119, allocations: 198.2 kB / 18.02 MB, free: 5.078 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.257/1.257, 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.1979/0.1979, allocations: 43.53 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.001755/0.001755, allocations: 71.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1239, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01643/0.1403, allocations: 14.28 MB / 0.5025 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.1515, allocations: 4.657 MB / 0.507 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.1541, allocations: 99.69 kB / 0.5071 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007814/0.1619, allocations: 4.213 MB / 0.5113 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006517/0.1685, allocations: 2.268 MB / 0.5135 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.1709, allocations: 0.9281 MB / 0.5144 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008149/0.179, allocations: 5.894 MB / 0.5201 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00777/0.1868, allocations: 5.305 MB / 0.5253 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/0.1917, allocations: 2.204 MB / 0.5275 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005054/0.1968, allocations: 2.944 MB / 0.5303 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001835/0.1987, allocations: 496 kB / 0.5308 GB, free: 332 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2527/0.4514, allocations: 1.366 MB / 0.5321 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004147/0.4556, allocations: 2.649 MB / 0.5347 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007381/0.463, allocations: 3.004 MB / 0.5377 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01586/0.4789, allocations: 9.563 MB / 0.547 GB, free: 10.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4789, allocations: 9.656 kB / 0.547 GB, free: 10.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4789, allocations: 0 / 0.547 GB, free: 10.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004107/0.4793, allocations: 0 / 0.547 GB, free: 10.4 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: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.02342/0.5028, allocations: 6.341 MB / 0.5532 GB, free: 7.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5028, allocations: 15.89 kB / 0.5532 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/0.5162, allocations: 2.616 MB / 0.5558 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.5274, allocations: 4.042 MB / 0.5597 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004299/0.5278, allocations: 313 kB / 0.56 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002646/0.5305, allocations: 448.5 kB / 0.5604 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/0.5587, allocations: 12.24 MB / 0.5724 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003347/0.5591, allocations: 62.33 kB / 0.5725 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002068/0.5612, allocations: 192.7 kB / 0.5726 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003825/0.565, allocations: 2.203 MB / 0.5748 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02446/0.5895, allocations: 10.54 MB / 0.5851 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06949/0.659, allocations: 47.36 MB / 0.6313 GB, free: 5.129 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.6709, allocations: 4.596 MB / 0.6358 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003877/0.6748, allocations: 2.643 MB / 0.6384 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0185/0.6933, allocations: 10.44 MB / 0.6486 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.417e-05/0.6935, allocations: 62.77 kB / 0.6487 GB, free: 3.141 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 5.991e-06/0.6935, allocations: 0 / 0.6487 GB, free: 3.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.0633/0.7568, allocations: 20.98 MB / 0.6692 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001777/0.757, allocations: 209.2 kB / 0.6694 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/0.7674, allocations: 4.824 MB / 0.6741 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006418/0.7681, allocations: 57.7 kB / 0.6741 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003068/0.7712, allocations: 3.725 MB / 0.6778 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/0.7725, allocations: 0.8311 MB / 0.6786 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003692/0.7762, allocations: 1.391 MB / 0.6799 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.7763, allocations: 308.7 kB / 0.6802 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005343/0.7817, allocations: 2.586 MB / 0.6827 GB, free: 144 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00937/0.7911, allocations: 6.553 MB / 0.6891 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/0.8048, allocations: 9.803 MB / 0.6987 GB, free: 12.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001487/0.805, allocations: 40 kB / 0.6988 GB, free: 12.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.0218/0.8268, allocations: 10.26 MB / 0.7088 GB, free: 2.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.827, allocations: 64 kB / 0.7088 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/0.8272, allocations: 136 kB / 0.709 GB, free: 2.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004539/0.8318, allocations: 1.614 MB / 0.7105 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00556/0.8373, allocations: 1.567 MB / 0.7121 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.8504, allocations: 10.27 MB / 0.7221 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/0.8559, allocations: 387.5 kB / 0.7225 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/0.8572, allocations: 404 kB / 0.7229 GB, free: 3.855 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (834): * Single equations (assignments): 829 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006108/0.8633, allocations: 2.561 MB / 0.7254 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/0.8644, allocations: 430.5 kB / 0.7258 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009828/0.8742, allocations: 4.625 MB / 0.7303 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/0.8743, allocations: 7.969 kB / 0.7303 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.8743, allocations: 4.094 kB / 0.7303 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/0.8765, allocations: 0.7883 MB / 0.7311 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/0.8778, allocations: 32 kB / 0.7311 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/0.8802, allocations: 131.8 kB / 0.7312 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/0.8807, allocations: 161.6 kB / 0.7314 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0094/0.8901, allocations: 5.004 MB / 0.7363 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00857/0.8987, allocations: 6.317 MB / 0.7424 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002162/0.9008, allocations: 1.674 MB / 0.7441 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00694/0.9078, allocations: 3.045 MB / 0.747 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of Backend: time 3.6e-07/0.9078, allocations: 0 / 0.747 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0131/0.9209, allocations: 5.129 MB / 0.7521 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of SimCode: time 0.2789/1.2, allocations: 11.54 MB / 0.7633 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.09477/1.295, allocations: 57.19 MB / 0.8192 GB, free: 172.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches