Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001571/0.00157, allocations: 186.7 kB / 16.41 MB, free: 5.727 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.928/1.928, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001114/0.001113, allocations: 90.05 kB / 270.9 MB, free: 8.387 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.5019/0.5019, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006323/0.0006324, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1203, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4882/0.6085, allocations: 109.5 MB / 0.5857 GB, free: 9.145 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.6089, allocations: 83.95 kB / 0.5858 GB, free: 9.062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.18/2.789, allocations: 285.7 MB / 0.8648 GB, free: 34.98 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.855e-06/2.789, allocations: 1.906 kB / 0.8648 GB, free: 34.98 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001347/2.79, allocations: 280.1 kB / 0.865 GB, free: 34.98 MB / 0.4949 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.06353/2.854, allocations: 14.11 MB / 0.8788 GB, free: 32.49 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/2.854, allocations: 9.875 kB / 0.8788 GB, free: 32.49 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.139/2.993, allocations: 18.52 MB / 0.8969 GB, free: 31.48 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05911/3.052, allocations: 14.97 MB / 0.9115 GB, free: 30.02 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002057/3.054, allocations: 1.1 MB / 0.9126 GB, free: 29.98 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009997/3.064, allocations: 1.462 MB / 0.914 GB, free: 29.97 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1196/3.184, allocations: 36.59 MB / 0.9498 GB, free: 24.3 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001243/3.185, allocations: 128.6 kB / 0.9499 GB, free: 24.29 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008692/3.194, allocations: 0.6715 MB / 0.9505 GB, free: 24.29 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007895/3.202, allocations: 3.719 MB / 0.9542 GB, free: 24.25 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1016/3.303, allocations: 33.12 MB / 0.9865 GB, free: 17.35 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7261/4.029, allocations: 140.5 MB / 1.124 GB, free: 26.09 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06118/4.091, allocations: 15.79 MB / 1.139 GB, free: 24.2 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1058/4.197, allocations: 35.74 MB / 1.174 GB, free: 21.29 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/4.197, allocations: 102.6 kB / 1.174 GB, free: 21.25 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=747): time 1.319e-05/4.197, allocations: 2.625 kB / 1.174 GB, free: 21.25 MB / 0.5574 GB Notification: Performance of matching and sorting (n=829): time 0.3911/4.588, allocations: 83.23 MB / 1.255 GB, free: 6.359 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002284/4.588, allocations: 313.3 kB / 1.256 GB, free: 6.004 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02905/4.617, allocations: 9.43 MB / 1.265 GB, free: 14.27 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.002034/4.619, allocations: 143.2 kB / 1.265 GB, free: 14.13 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.01045/4.63, allocations: 9.496 MB / 1.274 GB, free: 5.586 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.005749/4.636, allocations: 2.994 MB / 1.277 GB, free: 2.93 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00379/4.639, allocations: 359.8 kB / 1.278 GB, free: 2.582 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.002725/4.642, allocations: 1.103 MB / 1.279 GB, free: 1.691 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06017/4.702, allocations: 10.53 MB / 1.289 GB, free: 0 / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4551/5.158, allocations: 17.89 MB / 1.306 GB, free: 109 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02969/5.187, allocations: 12.19 MB / 1.318 GB, free: 108.9 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004759/5.188, allocations: 96.75 kB / 1.318 GB, free: 108.9 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2404) (initialization): time 0.08249/5.27, allocations: 27.58 MB / 1.345 GB, free: 107.4 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003478/5.271, allocations: 151.5 kB / 1.345 GB, free: 107.4 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006302/5.271, allocations: 330.7 kB / 1.346 GB, free: 107.4 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/5.283, allocations: 2.412 MB / 1.348 GB, free: 107.4 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03025/5.314, allocations: 4.288 MB / 1.352 GB, free: 107 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0322/5.346, allocations: 14.84 MB / 1.367 GB, free: 104.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02139/5.367, allocations: 1.095 MB / 1.368 GB, free: 104.2 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004813/5.372, allocations: 0.9943 MB / 1.369 GB, free: 104.2 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1513 * 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 (2208): * Single equations (assignments): 2191 * 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.02194/5.394, allocations: 7.184 MB / 1.376 GB, free: 102.5 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003592/5.398, allocations: 1.023 MB / 1.377 GB, free: 102.5 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05147/5.449, allocations: 16.06 MB / 1.393 GB, free: 96.53 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003055/5.45, allocations: 162 kB / 1.393 GB, free: 96.52 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-05/5.45, allocations: 17.91 kB / 1.393 GB, free: 96.52 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001687/5.45, allocations: 35.44 kB / 1.393 GB, free: 96.52 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1109/5.561, allocations: 34.98 MB / 1.427 GB, free: 83.97 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001056/5.561, allocations: 7.219 kB / 1.427 GB, free: 83.97 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01397/5.575, allocations: 1.401 MB / 1.428 GB, free: 83.86 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/5.586, allocations: 1.774 MB / 1.43 GB, free: 83.48 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002085/5.588, allocations: 131.2 kB / 1.43 GB, free: 83.39 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02916/5.617, allocations: 13.37 MB / 1.443 GB, free: 71.79 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/5.617, allocations: 15.69 kB / 1.443 GB, free: 71.78 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06614/5.683, allocations: 26.86 MB / 1.469 GB, free: 48 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009114/5.692, allocations: 2.256 MB / 1.472 GB, free: 45.92 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004613/5.697, allocations: 122.3 kB / 1.472 GB, free: 45.8 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01147/5.709, allocations: 0.5361 MB / 1.472 GB, free: 45.46 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002708/5.711, allocations: 433.9 kB / 1.473 GB, free: 45.19 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001013/5.712, allocations: 192.2 kB / 1.473 GB, free: 45.01 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.01739/5.73, allocations: 6.519 MB / 1.479 GB, free: 39.71 MB / 0.5887 GB Notification: Performance of sort global known variables: time 9.31e-07/5.73, allocations: 0 / 1.479 GB, free: 39.71 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.02232/5.752, allocations: 3.439 MB / 1.483 GB, free: 36.29 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (655): * Single equations (assignments): 638 * 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.00237/5.755, allocations: 326.2 kB / 1.483 GB, free: 35.98 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.4769/6.232, allocations: 19.97 MB / 1.502 GB, free: 108.8 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/6.232, allocations: 1.219 kB / 1.502 GB, free: 108.8 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.02103/6.253, allocations: 7.796 MB / 1.51 GB, free: 108.5 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01054/6.263, allocations: 1.257 MB / 1.511 GB, free: 108.5 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1127/6.376, allocations: 42.68 MB / 1.553 GB, free: 93.61 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02985/6.406, allocations: 10.6 MB / 1.563 GB, free: 92.52 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007591/6.414, allocations: 0.8668 MB / 1.564 GB, free: 92.52 MB / 0.5887 GB Notification: Performance of SimCode: time 1.282e-06/6.414, allocations: 3.062 kB / 1.564 GB, free: 92.52 MB / 0.5887 GB Notification: Performance of Templates: time 1.027/7.441, allocations: 321.7 MB / 1.878 GB, free: 11.92 MB / 0.5887 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches