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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001267, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 78.64 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2222/0.2222, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.966e-05, allocations: 0 / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1418, allocations: 58.86 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5087/0.6505, allocations: 108.8 MB / 0.5722 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.6509, allocations: 81.67 kB / 0.5723 GB, free: 2.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9822/1.633, allocations: 279.2 MB / 0.8449 GB, free: 51.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.803e-06/1.633, allocations: 0 / 0.8449 GB, free: 51.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001363/1.635, allocations: 280 kB / 0.8452 GB, free: 50.79 MB / 0.4948 GB 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.0508/1.685, allocations: 13.18 MB / 0.8581 GB, free: 37.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.685, allocations: 16.03 kB / 0.8581 GB, free: 37.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07112/1.757, allocations: 18.53 MB / 0.8762 GB, free: 18.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0387/1.795, allocations: 14.89 MB / 0.8907 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000975/1.796, allocations: 480 kB / 0.8912 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009594/1.806, allocations: 0.8628 MB / 0.892 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.765/2.571, allocations: 24.23 MB / 0.9157 GB, free: 54.65 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09346/2.665, allocations: 33.01 MB / 0.9479 GB, free: 49.05 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001411/2.666, allocations: 129.6 kB / 0.948 GB, free: 49.05 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01041/2.676, allocations: 68.38 kB / 0.9481 GB, free: 49.05 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00669/2.683, allocations: 3.718 MB / 0.9517 GB, free: 49.02 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2345/2.918, allocations: 135.7 MB / 1.084 GB, free: 2.523 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04139/2.959, allocations: 16.25 MB / 1.1 GB, free: 9.109 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01514/2.974, allocations: 9.399 MB / 1.109 GB, free: 0.4922 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7741/3.748, allocations: 1.305 MB / 1.111 GB, free: 111.7 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/3.749, allocations: 108 kB / 1.111 GB, free: 111.7 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=810): time 1.576e-05/3.749, allocations: 0 / 1.111 GB, free: 111.7 MB / 0.5575 GB Notification: Performance of matching and sorting (n=883): time 0.1662/3.915, allocations: 78.77 MB / 1.188 GB, free: 103.5 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/3.915, allocations: 307.5 kB / 1.188 GB, free: 103.2 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01504/3.93, allocations: 8.338 MB / 1.196 GB, free: 102.3 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.00188/3.932, allocations: 25.7 kB / 1.196 GB, free: 102.3 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.006864/3.939, allocations: 9.898 MB / 1.206 GB, free: 94.96 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.004714/3.944, allocations: 3.079 MB / 1.209 GB, free: 92.64 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001872/3.946, allocations: 0 / 1.209 GB, free: 92.64 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.001316/3.947, allocations: 1.149 MB / 1.21 GB, free: 91.98 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01223/3.959, allocations: 7.96 MB / 1.218 GB, free: 89.17 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01976/3.979, allocations: 18.14 MB / 1.235 GB, free: 70.44 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01993/3.999, allocations: 12.07 MB / 1.247 GB, free: 60.85 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007232/4, allocations: 100 kB / 1.247 GB, free: 60.75 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2537) (initialization): time 0.05833/4.058, allocations: 25.98 MB / 1.273 GB, free: 38.94 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006107/4.059, allocations: 160 kB / 1.273 GB, free: 38.79 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007837/4.059, allocations: 356 kB / 1.273 GB, free: 38.44 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007526/4.067, allocations: 2.406 MB / 1.275 GB, free: 36.57 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01846/4.086, allocations: 4.539 MB / 1.28 GB, free: 32.69 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/4.103, allocations: 13.69 MB / 1.293 GB, free: 20.56 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01673/4.12, allocations: 0.7636 MB / 1.294 GB, free: 20 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005415/4.125, allocations: 1.057 MB / 1.295 GB, free: 18.96 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1634 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2341): * Single equations (assignments): 2324 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007976/4.133, allocations: 1.023 MB / 1.296 GB, free: 17.93 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003509/4.137, allocations: 0.9949 MB / 1.297 GB, free: 16.93 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4838/4.62, allocations: 16.89 MB / 1.313 GB, free: 86.79 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003626/4.621, allocations: 167.4 kB / 1.314 GB, free: 86.79 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.832e-05/4.621, allocations: 13.31 kB / 1.314 GB, free: 86.79 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002428/4.621, allocations: 41.06 kB / 1.314 GB, free: 86.79 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08524/4.706, allocations: 35.18 MB / 1.348 GB, free: 84.84 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.352e-05/4.706, allocations: 14 kB / 1.348 GB, free: 84.84 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007641/4.714, allocations: 1.492 MB / 1.35 GB, free: 84.84 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005475/4.72, allocations: 1.757 MB / 1.351 GB, free: 84.81 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00179/4.721, allocations: 37.75 kB / 1.351 GB, free: 84.81 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/4.737, allocations: 12.12 MB / 1.363 GB, free: 82.24 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.026e-05/4.737, allocations: 25.56 kB / 1.363 GB, free: 82.24 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04281/4.779, allocations: 28.89 MB / 1.391 GB, free: 74.26 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007456/4.787, allocations: 2.255 MB / 1.394 GB, free: 73.68 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003844/4.791, allocations: 21.28 kB / 1.394 GB, free: 73.68 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008061/4.799, allocations: 450.4 kB / 1.394 GB, free: 73.67 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001962/4.801, allocations: 491.3 kB / 1.394 GB, free: 73.59 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007139/4.802, allocations: 214.6 kB / 1.395 GB, free: 73.55 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.01292/4.815, allocations: 5.559 MB / 1.4 GB, free: 71.6 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.022e-06/4.815, allocations: 0 / 1.4 GB, free: 71.6 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.02138/4.836, allocations: 2.988 MB / 1.403 GB, free: 71.6 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (705): * Single equations (assignments): 688 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002199/4.838, allocations: 209 kB / 1.403 GB, free: 71.51 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0326/4.871, allocations: 19.23 MB / 1.422 GB, free: 65.54 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.177e-05/4.871, allocations: 3.094 kB / 1.422 GB, free: 65.54 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.01398/4.885, allocations: 7.938 MB / 1.43 GB, free: 62.68 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009118/4.894, allocations: 0.9477 MB / 1.431 GB, free: 62.27 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06852/4.963, allocations: 29.89 MB / 1.46 GB, free: 39.16 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02679/4.99, allocations: 10.58 MB / 1.47 GB, free: 31.53 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.02422/5.014, allocations: 7.198 MB / 1.477 GB, free: 27.11 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005347/5.019, allocations: 0.7236 MB / 1.478 GB, free: 26.42 MB / 0.5575 GB Notification: Performance of SimCode: time 1.994e-06/5.019, allocations: 0 / 1.478 GB, free: 26.42 MB / 0.5575 GB Notification: Performance of Templates: time 0.5562/5.575, allocations: 88.59 MB / 1.564 GB, free: 95.77 MB / 0.5732 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint2/GearConstraint2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches