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.002094/0.002093, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 99.55 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2955/0.2955, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.361e-05/2.377e-05, allocations: 0 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4143, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2075/0.6218, allocations: 108.8 MB / 0.5721 GB, free: 6.469 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.6221, allocations: 83.45 kB / 0.5722 GB, free: 6.391 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.092/2.714, allocations: 279.2 MB / 0.8449 GB, free: 51.03 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.134e-06/2.714, allocations: 0 / 0.8449 GB, free: 51.03 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 0.001195/2.716, allocations: 282 kB / 0.8452 GB, free: 51.02 MB / 0.4953 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.0586/2.774, allocations: 13.19 MB / 0.858 GB, free: 46.34 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/2.774, allocations: 13.11 kB / 0.858 GB, free: 46.34 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1343/2.909, allocations: 18.52 MB / 0.8761 GB, free: 45.33 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05594/2.965, allocations: 14.9 MB / 0.8907 GB, free: 43.8 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001168/2.966, allocations: 481.5 kB / 0.8911 GB, free: 43.8 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009152/2.975, allocations: 0.8582 MB / 0.892 GB, free: 43.79 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06051/3.036, allocations: 24.23 MB / 0.9157 GB, free: 43.72 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09375/3.129, allocations: 33.01 MB / 0.9479 GB, free: 36.64 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001111/3.131, allocations: 131.3 kB / 0.948 GB, free: 36.63 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008428/3.139, allocations: 61.97 kB / 0.9481 GB, free: 36.63 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007807/3.147, allocations: 3.723 MB / 0.9517 GB, free: 35.03 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6999/3.847, allocations: 135.7 MB / 1.084 GB, free: 29.4 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02614/3.873, allocations: 14.53 MB / 1.098 GB, free: 26.46 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01836/3.891, allocations: 9.398 MB / 1.108 GB, free: 26.4 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00237/3.894, allocations: 1.307 MB / 1.109 GB, free: 25.27 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/3.894, allocations: 113.9 kB / 1.109 GB, free: 25.22 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=810): time 1.664e-05/3.894, allocations: 2.156 kB / 1.109 GB, free: 25.22 MB / 0.5421 GB Notification: Performance of matching and sorting (n=883): time 0.2456/4.14, allocations: 78.76 MB / 1.186 GB, free: 11.32 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/4.14, allocations: 309.6 kB / 1.186 GB, free: 11.03 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02176/4.162, allocations: 8.337 MB / 1.194 GB, free: 5.973 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.00202/4.164, allocations: 29.7 kB / 1.194 GB, free: 5.938 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.008962/4.173, allocations: 9.634 MB / 1.204 GB, free: 13.73 MB / 0.5578 GB Notification: Performance of collectInitialBindings (initialization): time 0.005987/4.179, allocations: 3.079 MB / 1.207 GB, free: 10.95 MB / 0.5578 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002796/4.182, allocations: 4 kB / 1.207 GB, free: 10.94 MB / 0.5578 GB Notification: Performance of setup shared object (initialization): time 0.002118/4.184, allocations: 1.152 MB / 1.208 GB, free: 10.02 MB / 0.5578 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02147/4.205, allocations: 7.954 MB / 1.216 GB, free: 2.875 MB / 0.5578 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06092/4.266, allocations: 19.86 MB / 1.235 GB, free: 1.562 MB / 0.5734 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03314/4.299, allocations: 12.21 MB / 1.247 GB, free: 8.328 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000466/4.3, allocations: 104 kB / 1.247 GB, free: 8.227 MB / 0.589 GB Notification: Performance of matching and sorting (n=2537) (initialization): time 0.08261/4.383, allocations: 25.71 MB / 1.272 GB, free: 2.387 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003395/4.383, allocations: 164.1 kB / 1.272 GB, free: 2.23 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008209/4.384, allocations: 360 kB / 1.273 GB, free: 1.879 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0125/4.396, allocations: 2.395 MB / 1.275 GB, free: 16 kB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4711/4.867, allocations: 4.546 MB / 1.279 GB, free: 126.6 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03299/4.9, allocations: 13.7 MB / 1.293 GB, free: 124 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02125/4.922, allocations: 0.759 MB / 1.294 GB, free: 124 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005177/4.927, allocations: 1.063 MB / 1.295 GB, free: 124 MB / 0.6046 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.007819/4.935, allocations: 1.022 MB / 1.296 GB, free: 123.9 MB / 0.6046 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003709/4.939, allocations: 0.9944 MB / 1.297 GB, free: 123.9 MB / 0.6046 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04879/4.987, allocations: 16.81 MB / 1.313 GB, free: 123.4 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003679/4.988, allocations: 164 kB / 1.313 GB, free: 123.4 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.813e-05/4.988, allocations: 14.81 kB / 1.313 GB, free: 123.4 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001944/4.988, allocations: 34.5 kB / 1.313 GB, free: 123.4 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1043/5.093, allocations: 35.19 MB / 1.348 GB, free: 121.4 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001237/5.093, allocations: 12.75 kB / 1.348 GB, free: 121.4 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0145/5.107, allocations: 1.489 MB / 1.349 GB, free: 121.4 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01025/5.118, allocations: 1.754 MB / 1.351 GB, free: 121.4 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002281/5.12, allocations: 40.31 kB / 1.351 GB, free: 121.4 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02479/5.145, allocations: 12.14 MB / 1.363 GB, free: 117.7 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.899e-05/5.145, allocations: 22.84 kB / 1.363 GB, free: 117.7 MB / 0.6046 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05939/5.204, allocations: 28.89 MB / 1.391 GB, free: 104.2 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009694/5.214, allocations: 2.252 MB / 1.393 GB, free: 103.1 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003849/5.218, allocations: 22.09 kB / 1.393 GB, free: 103.1 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.012/5.23, allocations: 438 kB / 1.394 GB, free: 103.1 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002732/5.233, allocations: 498.4 kB / 1.394 GB, free: 103.1 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001015/5.234, allocations: 216.7 kB / 1.394 GB, free: 103 MB / 0.6046 GB Notification: Performance of sorting global known variables: time 0.01426/5.248, allocations: 5.556 MB / 1.4 GB, free: 101.1 MB / 0.6046 GB Notification: Performance of sort global known variables: time 8.21e-07/5.248, allocations: 0 / 1.4 GB, free: 101.1 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.02329/5.271, allocations: 2.985 MB / 1.403 GB, free: 101.1 MB / 0.6046 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.00246/5.274, allocations: 215 kB / 1.403 GB, free: 101 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.04395/5.318, allocations: 19.24 MB / 1.422 GB, free: 86.93 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-05/5.318, allocations: 4 kB / 1.422 GB, free: 86.93 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.01919/5.337, allocations: 7.936 MB / 1.429 GB, free: 79.79 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009863/5.347, allocations: 0.9501 MB / 1.43 GB, free: 78.98 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09469/5.442, allocations: 31.6 MB / 1.461 GB, free: 50.84 MB / 0.6046 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02805/5.47, allocations: 10.6 MB / 1.471 GB, free: 43.19 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007573/5.477, allocations: 0.8721 MB / 1.472 GB, free: 42.36 MB / 0.6046 GB Notification: Performance of SimCode: time 1.583e-06/5.477, allocations: 2.031 kB / 1.472 GB, free: 42.36 MB / 0.6046 GB Notification: Performance of Templates: time 1.449/6.926, allocations: 316.5 MB / 1.781 GB, free: 120.4 MB / 0.6203 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