Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0009162/0.0009158, allocations: 182.5 kB / 17.41 MB, free: 4.387 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.379/1.379, allocations: 205.4 MB / 223.6 MB, free: 8.949 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.0007834/0.0007833, allocations: 95.88 kB / 271.9 MB, free: 8.242 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.3343/0.3343, allocations: 43.55 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003491, allocations: 12 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 58.84 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.4542, allocations: 110.6 MB / 0.5879 GB, free: 7.801 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.4546, allocations: 79.97 kB / 0.588 GB, free: 7.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5957/1.05, allocations: 161.9 MB / 0.7461 GB, free: 79.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.285e-06/1.05, allocations: 7.312 kB / 0.7461 GB, free: 79.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005362/1.051, allocations: 160.5 kB / 0.7463 GB, free: 79.45 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.02569/1.077, allocations: 7.781 MB / 0.7539 GB, free: 75.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/1.077, allocations: 11 kB / 0.7539 GB, free: 75.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0333/1.11, allocations: 8.404 MB / 0.7621 GB, free: 74.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01727/1.127, allocations: 7.318 MB / 0.7692 GB, free: 71.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007108/1.128, allocations: 0.6229 MB / 0.7698 GB, free: 70.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004442/1.132, allocations: 0.8244 MB / 0.7706 GB, free: 70.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04379/1.176, allocations: 20.44 MB / 0.7906 GB, free: 56.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005113/1.177, allocations: 83.41 kB / 0.7907 GB, free: 56.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003801/1.181, allocations: 401.1 kB / 0.7911 GB, free: 55.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002757/1.183, allocations: 2.11 MB / 0.7931 GB, free: 53.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03151/1.215, allocations: 17.89 MB / 0.8106 GB, free: 35.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3264/1.541, allocations: 85.09 MB / 0.8937 GB, free: 52.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/1.556, allocations: 7.973 MB / 0.9015 GB, free: 50.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00606/1.562, allocations: 5.139 MB / 0.9065 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/1.563, allocations: 66.78 kB / 0.9066 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/1.563, allocations: 81.16 kB / 0.9066 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=450): time 7.474e-06/1.563, allocations: 0 / 0.9066 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=501): time 0.1079/1.671, allocations: 42.89 MB / 0.9485 GB, free: 42.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.671, allocations: 230.7 kB / 0.9487 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/1.682, allocations: 6.458 MB / 0.9551 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.683, allocations: 95 kB / 0.9551 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0035/1.687, allocations: 5.687 MB / 0.9607 GB, free: 35.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002296/1.689, allocations: 1.823 MB / 0.9625 GB, free: 34.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008428/1.69, allocations: 223.8 kB / 0.9627 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006106/1.69, allocations: 0.797 MB / 0.9635 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006448/1.697, allocations: 4.915 MB / 0.9683 GB, free: 32.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009336/1.706, allocations: 11.11 MB / 0.9791 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01824/1.724, allocations: 17.51 MB / 0.9962 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002219/1.725, allocations: 59.53 kB / 0.9963 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1490) (initialization): time 0.03404/1.759, allocations: 17.17 MB / 1.013 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/1.759, allocations: 96 kB / 1.013 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003626/1.759, allocations: 216 kB / 1.013 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004758/1.764, allocations: 1.695 MB / 1.015 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/1.774, allocations: 2.643 MB / 1.018 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/1.792, allocations: 14.04 MB / 1.031 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/1.803, allocations: 0.6598 MB / 1.032 GB, free: 132 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007523/1.81, allocations: 0.8601 MB / 1.033 GB, free: 0 / 0.5261 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 () * Number of clocked 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.01173/1.822, allocations: 4.204 MB / 1.037 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001581/1.824, allocations: 0.6169 MB / 1.037 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01759/1.841, allocations: 9.727 MB / 1.047 GB, free: 3.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001429/1.842, allocations: 96.12 kB / 1.047 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.804e-05/1.842, allocations: 10.53 kB / 1.047 GB, free: 3.477 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.744e-05/1.842, allocations: 22.84 kB / 1.047 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04334/1.885, allocations: 21.76 MB / 1.068 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.779e-05/1.885, allocations: 12 kB / 1.068 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004012/1.889, allocations: 0.796 MB / 1.069 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.246/2.135, allocations: 1.441 MB / 1.071 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001244/2.137, allocations: 96.83 kB / 1.071 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/2.151, allocations: 12.91 MB / 1.083 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.567e-06/2.151, allocations: 15.09 kB / 1.083 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02302/2.174, allocations: 15.55 MB / 1.098 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00432/2.179, allocations: 1.385 MB / 1.1 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002455/2.181, allocations: 90.89 kB / 1.1 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004614/2.186, allocations: 313.2 kB / 1.1 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/2.187, allocations: 300.2 kB / 1.1 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007887/2.188, allocations: 132.7 kB / 1.101 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009086/2.197, allocations: 4.006 MB / 1.105 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.51e-07/2.197, allocations: 0 / 1.105 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01368/2.211, allocations: 2.04 MB / 1.107 GB, free: 131.9 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 () * Number of clocked 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.00164/2.212, allocations: 256.1 kB / 1.107 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02249/2.235, allocations: 12.17 MB / 1.119 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/2.235, allocations: 0 / 1.119 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008219/2.243, allocations: 4.937 MB / 1.123 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01842/2.262, allocations: 0.795 MB / 1.124 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05412/2.316, allocations: 25.03 MB / 1.149 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01565/2.332, allocations: 6.117 MB / 1.155 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003518/2.335, allocations: 0.5322 MB / 1.155 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.252e-06/2.335, allocations: 0 / 1.155 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.622/2.957, allocations: 271.6 MB / 1.42 GB, free: 54.55 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.GearConstraint_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches