Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.GearConstraint,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.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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 115.6 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001798/0.001798, allocations: 204 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3148/0.3148, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 79.88 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2882, allocations: 62.43 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01371/0.302, allocations: 13.5 MB / 0.5449 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008695/0.3107, allocations: 4.547 MB / 0.5493 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.3126, allocations: 93.62 kB / 0.5494 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006591/0.3193, allocations: 4.181 MB / 0.5535 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004683/0.324, allocations: 2.187 MB / 0.5556 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.3257, allocations: 0.9282 MB / 0.5565 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006705/0.3324, allocations: 6.125 MB / 0.5625 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005513/0.3379, allocations: 5.197 MB / 0.5676 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.3407, allocations: 2.126 MB / 0.5696 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003653/0.3444, allocations: 2.8 MB / 0.5724 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.3456, allocations: 472 kB / 0.5728 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.3482, allocations: 1.346 MB / 0.5741 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002633/0.3508, allocations: 2.509 MB / 0.5766 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003621/0.3545, allocations: 2.84 MB / 0.5794 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008456/0.3629, allocations: 9.056 MB / 0.5882 GB, free: 7.539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3629, allocations: 8 kB / 0.5882 GB, free: 7.531 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.363, allocations: 0 / 0.5882 GB, free: 7.531 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.3631, allocations: 0 / 0.5882 GB, free: 7.531 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1731 * Number of variables: 1731 Notification: Performance of Generate backend data structure: time 0.01012/0.3732, allocations: 6.23 MB / 0.5943 GB, free: 1.219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.3732, allocations: 8.031 kB / 0.5943 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.3842, allocations: 2.618 MB / 0.5969 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007674/0.3919, allocations: 3.822 MB / 0.6006 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.3921, allocations: 304.1 kB / 0.6009 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008447/0.393, allocations: 431.9 kB / 0.6013 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.409, allocations: 11.54 MB / 0.6126 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.4091, allocations: 55.53 kB / 0.6126 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004205/0.4095, allocations: 191.8 kB / 0.6128 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002987/0.4125, allocations: 2.022 MB / 0.6148 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/0.4298, allocations: 9.936 MB / 0.6245 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05357/0.4834, allocations: 45.43 MB / 0.6689 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009623/0.493, allocations: 4.358 MB / 0.6731 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002764/0.4958, allocations: 2.469 MB / 0.6755 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01274/0.5086, allocations: 9.861 MB / 0.6852 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.5086, allocations: 63.48 kB / 0.6852 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 3.998e-06/0.5087, allocations: 0 / 0.6852 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.04848/0.5571, allocations: 20.18 MB / 0.7049 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.5573, allocations: 201.2 kB / 0.7051 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00633/0.5636, allocations: 4.702 MB / 0.7097 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002433/0.5639, allocations: 53.7 kB / 0.7098 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00221/0.5661, allocations: 3.704 MB / 0.7134 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/0.5668, allocations: 0.7947 MB / 0.7142 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.5683, allocations: 1.345 MB / 0.7155 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.5684, allocations: 305.1 kB / 0.7158 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2456/0.814, allocations: 2.398 MB / 0.7181 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007069/0.8211, allocations: 6.248 MB / 0.7242 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/0.8315, allocations: 9.297 MB / 0.7333 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002314/0.8318, allocations: 37.66 kB / 0.7333 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01577/0.8476, allocations: 9.789 MB / 0.7429 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.467e-05/0.8477, allocations: 66.69 kB / 0.7429 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/0.8478, allocations: 137.2 kB / 0.7431 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/0.8517, allocations: 1.608 MB / 0.7446 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004306/0.856, allocations: 1.492 MB / 0.7461 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009948/0.8659, allocations: 10.26 MB / 0.7561 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004406/0.8704, allocations: 358.4 kB / 0.7565 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005101/0.8709, allocations: 396.2 kB / 0.7568 GB, free: 136.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * 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 (793): * Single equations (assignments): 788 * 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.002607/0.8735, allocations: 2.462 MB / 0.7592 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004652/0.874, allocations: 428.6 kB / 0.7597 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006016/0.88, allocations: 4.228 MB / 0.7638 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.88, allocations: 19.89 kB / 0.7638 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.88, allocations: 0 / 0.7638 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/0.8805, allocations: 478.5 kB / 0.7643 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003811/0.8809, allocations: 28 kB / 0.7643 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.8822, allocations: 115.8 kB / 0.7644 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002877/0.8825, allocations: 145 kB / 0.7645 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006349/0.8889, allocations: 4.643 MB / 0.7691 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004932/0.8938, allocations: 5.74 MB / 0.7747 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001328/0.8952, allocations: 1.484 MB / 0.7761 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002868/0.8981, allocations: 2.96 MB / 0.779 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of Backend: time 9.52e-07/0.8981, allocations: 0 / 0.779 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006886/0.905, allocations: 4.89 MB / 0.7838 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01121/0.9162, allocations: 11.21 MB / 0.7947 GB, free: 98.43 MB / 0.5606 GB Notification: Performance of Templates: time 1.443/2.359, allocations: 53.46 MB / 0.8469 GB, free: 45.21 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches