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.001464/0.001464, allocations: 109.1 kB / 17.09 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.001697/0.001697, allocations: 198.9 kB / 18.02 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.368/1.368, 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.2094/0.2094, allocations: 43.53 MB / 314.8 MB, free: 448 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.001648/0.001648, allocations: 73.45 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1132, allocations: 57.78 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01462/0.1279, allocations: 14.28 MB / 0.5025 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009699/0.1376, allocations: 4.65 MB / 0.507 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.14, allocations: 95.69 kB / 0.5071 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007797/0.1478, allocations: 4.233 MB / 0.5113 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006185/0.1541, allocations: 2.327 MB / 0.5135 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.1565, allocations: 0.9282 MB / 0.5144 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008895/0.1654, allocations: 5.89 MB / 0.5202 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007526/0.173, allocations: 5.305 MB / 0.5254 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004156/0.1772, allocations: 2.208 MB / 0.5275 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004719/0.1819, allocations: 2.936 MB / 0.5304 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001712/0.1837, allocations: 496 kB / 0.5309 GB, free: 252 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2304/0.4141, allocations: 1.363 MB / 0.5322 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003776/0.4179, allocations: 2.654 MB / 0.5348 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00739/0.4253, allocations: 3.005 MB / 0.5377 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01491/0.4403, allocations: 9.565 MB / 0.5471 GB, free: 10.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4403, allocations: 3.625 kB / 0.5471 GB, free: 10.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4403, allocations: 0 / 0.5471 GB, free: 10.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004398/0.4408, allocations: 0 / 0.5471 GB, free: 10.39 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.02035/0.4611, allocations: 6.345 MB / 0.5533 GB, free: 7.961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4612, allocations: 13.64 kB / 0.5533 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.4739, allocations: 2.617 MB / 0.5558 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.484, allocations: 4.044 MB / 0.5598 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.4843, allocations: 312.8 kB / 0.5601 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/0.4862, allocations: 447.2 kB / 0.5605 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/0.5091, allocations: 12.24 MB / 0.5725 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001764/0.5093, allocations: 55.91 kB / 0.5725 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006276/0.5099, allocations: 198.4 kB / 0.5727 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003813/0.5138, allocations: 2.208 MB / 0.5749 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.536, allocations: 10.53 MB / 0.5852 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06452/0.6006, allocations: 47.35 MB / 0.6314 GB, free: 5.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/0.613, allocations: 4.596 MB / 0.6359 GB, free: 376 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003989/0.6171, allocations: 2.642 MB / 0.6385 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01926/0.6364, allocations: 10.45 MB / 0.6487 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.6364, allocations: 55.25 kB / 0.6487 GB, free: 3.109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 5.801e-06/0.6365, allocations: 0 / 0.6487 GB, free: 3.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.06255/0.699, allocations: 21 MB / 0.6692 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.6992, allocations: 205.2 kB / 0.6694 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009532/0.7087, allocations: 4.827 MB / 0.6741 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006095/0.7093, allocations: 57.7 kB / 0.6742 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003292/0.7126, allocations: 3.725 MB / 0.6778 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/0.7138, allocations: 0.8284 MB / 0.6786 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00367/0.7175, allocations: 1.392 MB / 0.68 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7177, allocations: 309 kB / 0.6803 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005318/0.723, allocations: 2.582 MB / 0.6828 GB, free: 100 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008312/0.7313, allocations: 6.555 MB / 0.6892 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/0.7439, allocations: 9.8 MB / 0.6988 GB, free: 12.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/0.7441, allocations: 40 kB / 0.6988 GB, free: 12.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02076/0.7649, allocations: 10.26 MB / 0.7088 GB, free: 2.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.7651, allocations: 64 kB / 0.7089 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002426/0.7653, allocations: 140 kB / 0.709 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004933/0.7703, allocations: 1.618 MB / 0.7106 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005969/0.7763, allocations: 1.563 MB / 0.7121 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/0.7908, allocations: 10.27 MB / 0.7222 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006123/0.797, allocations: 382.2 kB / 0.7225 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001491/0.7985, allocations: 408 kB / 0.7229 GB, free: 3.797 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.006157/0.8046, allocations: 2.57 MB / 0.7254 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/0.8058, allocations: 430.5 kB / 0.7258 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.816, allocations: 4.625 MB / 0.7304 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-05/0.816, allocations: 7.969 kB / 0.7304 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.816, allocations: 0 / 0.7304 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002453/0.8185, allocations: 0.7845 MB / 0.7311 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/0.8197, allocations: 35.94 kB / 0.7312 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/0.8222, allocations: 135.8 kB / 0.7313 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004942/0.8227, allocations: 157.5 kB / 0.7314 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01015/0.8329, allocations: 5.002 MB / 0.7363 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009444/0.8423, allocations: 6.315 MB / 0.7425 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002349/0.8447, allocations: 1.678 MB / 0.7441 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007423/0.8522, allocations: 3.041 MB / 0.7471 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of Backend: time 4.61e-07/0.8522, allocations: 0 / 0.7471 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01339/0.8656, allocations: 5.128 MB / 0.7521 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of SimCode: time 0.2765/1.142, allocations: 11.54 MB / 0.7634 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.1082/1.25, allocations: 56.81 MB / 0.8189 GB, free: 172.8 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