Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.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.Joints.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.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.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.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009507/0.0009507, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000812/0.000812, allocations: 86.61 kB / 267 MB, free: 9.285 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.3091/0.3091, allocations: 43.47 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.258e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3309/0.4333, allocations: 110.3 MB / 0.5805 GB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.4336, allocations: 76.67 kB / 0.5806 GB, free: 10.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5898/1.023, allocations: 164.3 MB / 0.741 GB, free: 78.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.833e-06/1.023, allocations: 0 / 0.741 GB, free: 78.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002873/1.024, allocations: 161.5 kB / 0.7412 GB, free: 78.66 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.01877/1.043, allocations: 7.513 MB / 0.7485 GB, free: 74.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.043, allocations: 6.906 kB / 0.7485 GB, free: 74.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03579/1.078, allocations: 10.06 MB / 0.7584 GB, free: 73.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01933/1.098, allocations: 8.42 MB / 0.7666 GB, free: 70.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005123/1.098, allocations: 0.6253 MB / 0.7672 GB, free: 70.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003689/1.102, allocations: 0.8265 MB / 0.768 GB, free: 69.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03423/1.136, allocations: 20.38 MB / 0.7879 GB, free: 54.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00029/1.137, allocations: 87.2 kB / 0.788 GB, free: 54.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/1.138, allocations: 392.6 kB / 0.7884 GB, free: 54.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001966/1.14, allocations: 2.106 MB / 0.7904 GB, free: 52.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02949/1.17, allocations: 17.78 MB / 0.8078 GB, free: 34.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.376/1.546, allocations: 85.16 MB / 0.8909 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01466/1.56, allocations: 7.965 MB / 0.8987 GB, free: 49.94 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005867/1.566, allocations: 5.084 MB / 0.9037 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000265/1.567, allocations: 63.59 kB / 0.9038 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/1.567, allocations: 79.86 kB / 0.9038 GB, free: 49.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=450): time 7.985e-06/1.567, allocations: 0 / 0.9038 GB, free: 49.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=501): time 0.08032/1.647, allocations: 37.66 MB / 0.9406 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/1.647, allocations: 225.4 kB / 0.9408 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008013/1.655, allocations: 5.698 MB / 0.9464 GB, free: 41.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009208/1.656, allocations: 96.45 kB / 0.9465 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002766/1.659, allocations: 5.692 MB / 0.952 GB, free: 37.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001867/1.661, allocations: 1.82 MB / 0.9538 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005733/1.661, allocations: 224.9 kB / 0.954 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005503/1.662, allocations: 0.7993 MB / 0.9548 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005639/1.668, allocations: 4.808 MB / 0.9595 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008299/1.676, allocations: 10.96 MB / 0.9702 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009369/1.685, allocations: 7.305 MB / 0.9773 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001978/1.686, allocations: 63.88 kB / 0.9774 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1490) (initialization): time 0.02635/1.712, allocations: 16.97 MB / 0.994 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/1.712, allocations: 96.78 kB / 0.9941 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000212/1.712, allocations: 212.1 kB / 0.9943 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/1.716, allocations: 1.727 MB / 0.9959 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008169/1.724, allocations: 2.601 MB / 0.9985 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/1.74, allocations: 14.01 MB / 1.012 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009257/1.75, allocations: 0.6628 MB / 1.013 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002424/1.752, allocations: 0.6392 MB / 1.013 GB, free: 0.8047 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 979 * Number of states: 0 () * Number of discrete variables: 51 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1366): * Single equations (assignments): 1353 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 42,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004068/1.756, allocations: 0.95 MB / 1.014 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001869/1.758, allocations: 0.6131 MB / 1.015 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01738/1.776, allocations: 9.617 MB / 1.024 GB, free: 7.234 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001123/1.776, allocations: 92.34 kB / 1.024 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.29e-05/1.776, allocations: 11.88 kB / 1.024 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.633e-05/1.776, allocations: 22.42 kB / 1.024 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04395/1.82, allocations: 21.75 MB / 1.046 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.772e-05/1.82, allocations: 13.59 kB / 1.046 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003766/1.824, allocations: 0.7934 MB / 1.047 GB, free: 4.699 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003558/1.827, allocations: 1.358 MB / 1.048 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007128/1.828, allocations: 94.91 kB / 1.048 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/1.842, allocations: 12.88 MB / 1.061 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/1.842, allocations: 15.94 kB / 1.061 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2922/2.134, allocations: 18.13 MB / 1.078 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003584/2.137, allocations: 1.39 MB / 1.08 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008112/2.138, allocations: 87.56 kB / 1.08 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002661/2.141, allocations: 308.8 kB / 1.08 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006558/2.142, allocations: 299.7 kB / 1.08 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003216/2.142, allocations: 132.2 kB / 1.08 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005551/2.148, allocations: 3.949 MB / 1.084 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/2.148, allocations: 0 / 1.084 GB, free: 135.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007943/2.156, allocations: 2.04 MB / 1.086 GB, free: 135.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (385): * Single equations (assignments): 372 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 39,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005956/2.156, allocations: 257.5 kB / 1.086 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01381/2.17, allocations: 11.99 MB / 1.098 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/2.17, allocations: 1.375 kB / 1.098 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006183/2.176, allocations: 4.865 MB / 1.103 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/2.18, allocations: 0.7293 MB / 1.104 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02829/2.209, allocations: 17.37 MB / 1.121 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007249/2.216, allocations: 6.28 MB / 1.127 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009632/2.225, allocations: 4.123 MB / 1.131 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/2.227, allocations: 451.1 kB / 1.131 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.193e-06/2.227, allocations: 0 / 1.131 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.1022/2.33, allocations: 69.62 MB / 1.199 GB, free: 98.05 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/GearConstraint/GearConstraint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches