Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 108.7 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.001032/0.001032, allocations: 199.4 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.425/1.425, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2084/0.2084, allocations: 43.52 MB / 314.8 MB, free: 456 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.001414/0.001414, allocations: 69.45 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2): time 0.02948/0.1404, allocations: 32.45 MB / 0.5202 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01706/0.1574, allocations: 7.909 MB / 0.528 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006484/0.164, allocations: 227.4 kB / 0.5282 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2637/0.4277, allocations: 9.212 MB / 0.5372 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01613/0.4439, allocations: 5.359 MB / 0.5424 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004433/0.4484, allocations: 1.542 MB / 0.5439 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02548/0.4739, allocations: 14.88 MB / 0.5584 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02001/0.4939, allocations: 12.19 MB / 0.5703 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01152/0.5055, allocations: 5.542 MB / 0.5758 GB, free: 8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01221/0.5177, allocations: 7.469 MB / 0.5831 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004556/0.5223, allocations: 1.195 MB / 0.5842 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007506/0.5298, allocations: 1.951 MB / 0.5861 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01135/0.5412, allocations: 6.959 MB / 0.5929 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01584/0.5571, allocations: 7.882 MB / 0.6006 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03429/0.5914, allocations: 24.65 MB / 0.6247 GB, free: 6.91 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.5915, allocations: 4 kB / 0.6247 GB, free: 6.906 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5915, allocations: 0 / 0.6247 GB, free: 6.906 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001021/0.5925, allocations: 0 / 0.6247 GB, free: 6.906 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5460 * Number of variables: 5460 Notification: Performance of Generate backend data structure: time 0.0457/0.6382, allocations: 15.85 MB / 0.6402 GB, free: 7.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.6383, allocations: 15.89 kB / 0.6402 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04302/0.6814, allocations: 9.435 MB / 0.6494 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02386/0.7052, allocations: 9.43 MB / 0.6586 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001176/0.7065, allocations: 0.7864 MB / 0.6594 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005227/0.7117, allocations: 1.098 MB / 0.6605 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07607/0.7878, allocations: 36.94 MB / 0.6965 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005464/0.7884, allocations: 119 kB / 0.6966 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003726/0.7921, allocations: 499.8 kB / 0.6971 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01393/0.8061, allocations: 7.801 MB / 0.7047 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06851/0.8746, allocations: 33.39 MB / 0.7373 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6338/1.508, allocations: 131.1 MB / 0.8653 GB, free: 96.31 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03387/1.542, allocations: 16.15 MB / 0.8811 GB, free: 86.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01247/1.555, allocations: 10.13 MB / 0.891 GB, free: 76.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06424/1.619, allocations: 36.45 MB / 0.9266 GB, free: 39.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.084e-05/1.619, allocations: 107.2 kB / 0.9267 GB, free: 39.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=747): time 1.213e-05/1.619, allocations: 0 / 0.9267 GB, free: 39.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=829): time 0.712/2.331, allocations: 86.66 MB / 1.011 GB, free: 204.9 MB / 0.6233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/2.331, allocations: 304.9 kB / 1.012 GB, free: 204.6 MB / 0.6233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01832/2.35, allocations: 10.64 MB / 1.022 GB, free: 201 MB / 0.6233 GB Notification: Performance of collectPreVariables (initialization): time 0.001866/2.352, allocations: 140.3 kB / 1.022 GB, free: 200.9 MB / 0.6233 GB Notification: Performance of collectInitialEqns (initialization): time 0.005841/2.357, allocations: 9.696 MB / 1.032 GB, free: 193.6 MB / 0.6233 GB Notification: Performance of collectInitialBindings (initialization): time 0.00331/2.361, allocations: 3.001 MB / 1.035 GB, free: 191.4 MB / 0.6233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005937/2.367, allocations: 3.768 MB / 1.038 GB, free: 189.6 MB / 0.6233 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/2.367, allocations: 308.5 kB / 1.039 GB, free: 189.3 MB / 0.6233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01197/2.379, allocations: 8.938 MB / 1.047 GB, free: 186.3 MB / 0.6233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01579/2.395, allocations: 18.55 MB / 1.065 GB, free: 170.7 MB / 0.6233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02946/2.424, allocations: 29.49 MB / 1.094 GB, free: 145.1 MB / 0.6233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000377/2.425, allocations: 96 kB / 1.094 GB, free: 145 MB / 0.6233 GB Notification: Performance of matching and sorting (n=2474) (initialization): time 0.05366/2.478, allocations: 30.37 MB / 1.124 GB, free: 114.6 MB / 0.6233 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005351/2.479, allocations: 151.8 kB / 1.124 GB, free: 114.5 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006396/2.479, allocations: 331.7 kB / 1.124 GB, free: 114.2 MB / 0.6233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/2.49, allocations: 3.685 MB / 1.128 GB, free: 110.5 MB / 0.6233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01582/2.506, allocations: 4.422 MB / 1.132 GB, free: 106 MB / 0.6233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02502/2.531, allocations: 19.9 MB / 1.152 GB, free: 85.87 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01595/2.547, allocations: 1.131 MB / 1.153 GB, free: 84.73 MB / 0.6233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003597/2.55, allocations: 1.012 MB / 1.154 GB, free: 83.73 MB / 0.6233 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1503 * Number of states: 0 () * Number of discrete variables: 93 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.cylinderColor[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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2278): * Single equations (assignments): 2261 * Array equations: 15 * 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,36,77.8%), (3,36,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01434/2.565, allocations: 7.18 MB / 1.161 GB, free: 76.53 MB / 0.6233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003271/2.568, allocations: 0.9987 MB / 1.162 GB, free: 75.52 MB / 0.6233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03305/2.601, allocations: 18 MB / 1.179 GB, free: 57.45 MB / 0.6233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000124/2.601, allocations: 35.81 kB / 1.179 GB, free: 57.41 MB / 0.6233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/2.601, allocations: 7.938 kB / 1.179 GB, free: 57.41 MB / 0.6233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006634/2.608, allocations: 2.343 MB / 1.182 GB, free: 55.03 MB / 0.6233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003407/2.611, allocations: 115.6 kB / 1.182 GB, free: 54.92 MB / 0.6233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00735/2.619, allocations: 0.5741 MB / 1.182 GB, free: 54.35 MB / 0.6233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001632/2.62, allocations: 468.6 kB / 1.183 GB, free: 53.89 MB / 0.6233 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03496/2.655, allocations: 17.98 MB / 1.2 GB, free: 35.99 MB / 0.6233 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03646/2.692, allocations: 25.4 MB / 1.225 GB, free: 10.48 MB / 0.6233 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2792/2.971, allocations: 7.256 MB / 1.232 GB, free: 189.4 MB / 0.6233 GB Notification: Performance of sorting global known variables: time 0.01217/2.983, allocations: 6.589 MB / 1.239 GB, free: 188.2 MB / 0.6233 GB Notification: Performance of Backend: time 1.052e-06/2.983, allocations: 0.5938 kB / 1.239 GB, free: 188.2 MB / 0.6233 GB Notification: Performance of simCode: created initialization part: time 0.04053/3.024, allocations: 15.02 MB / 1.253 GB, free: 182.8 MB / 0.6233 GB Notification: Performance of SimCode: time 0.07828/3.102, allocations: 30.54 MB / 1.283 GB, free: 170.1 MB / 0.6233 GB Notification: Performance of Templates: time 0.2296/3.332, allocations: 161.1 MB / 1.44 GB, free: 16.67 MB / 0.6233 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches