Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009516/0.0009518, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.359/1.359, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.0007285/0.0007285, allocations: 91.86 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.3205/0.3205, allocations: 43.55 MB / 363.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003951, allocations: 16 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1118, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.334/0.4459, allocations: 104.9 MB / 0.5824 GB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4462, allocations: 86.8 kB / 0.5825 GB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4632/0.9094, allocations: 108.9 MB / 0.6888 GB, free: 83.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.9095, allocations: 0 / 0.6888 GB, free: 83.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003355/0.9098, allocations: 109.1 kB / 0.6889 GB, free: 83.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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02091/0.9307, allocations: 6.548 MB / 0.6953 GB, free: 81.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.9308, allocations: 8.969 kB / 0.6953 GB, free: 81.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02926/0.9601, allocations: 6.839 MB / 0.702 GB, free: 80.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02082/0.9809, allocations: 8.562 MB / 0.7104 GB, free: 79.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005021/0.9815, allocations: 365.3 kB / 0.7107 GB, free: 79.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002616/0.9841, allocations: 472.7 kB / 0.7112 GB, free: 79.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03037/1.015, allocations: 10.56 MB / 0.7215 GB, free: 78.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006138/1.015, allocations: 64.31 kB / 0.7216 GB, free: 78.08 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002061/1.017, allocations: 216 kB / 0.7218 GB, free: 78.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001785/1.019, allocations: 0.989 MB / 0.7227 GB, free: 78.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/1.04, allocations: 8.835 MB / 0.7314 GB, free: 77.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05682/1.097, allocations: 43.97 MB / 0.7743 GB, free: 49.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02043/1.117, allocations: 7.639 MB / 0.7817 GB, free: 47.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005827/1.123, allocations: 4.97 MB / 0.7866 GB, free: 45.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/1.124, allocations: 1.126 MB / 0.7877 GB, free: 44.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/1.125, allocations: 63.28 kB / 0.7878 GB, free: 44.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 6.142e-06/1.125, allocations: 0 / 0.7878 GB, free: 44.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=415): time 0.4484/1.573, allocations: 75.35 MB / 0.8614 GB, free: 89.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01512/1.588, allocations: 10.94 MB / 0.872 GB, free: 87.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005906/1.594, allocations: 4.254 MB / 0.8762 GB, free: 87.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009489/1.595, allocations: 86.8 kB / 0.8763 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001668/1.597, allocations: 3.015 MB / 0.8792 GB, free: 87.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/1.598, allocations: 1.436 MB / 0.8806 GB, free: 86.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004228/1.599, allocations: 113.4 kB / 0.8807 GB, free: 86.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002292/1.599, allocations: 0.5338 MB / 0.8812 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005216/1.604, allocations: 4.486 MB / 0.8856 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006097/1.61, allocations: 6.55 MB / 0.892 GB, free: 83.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/1.626, allocations: 11.78 MB / 0.9035 GB, free: 78.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001384/1.626, allocations: 19.38 kB / 0.9035 GB, free: 78.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0388/1.665, allocations: 18.6 MB / 0.9217 GB, free: 72.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.983e-05/1.665, allocations: 34.28 kB / 0.9217 GB, free: 72.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001254/1.665, allocations: 69.41 kB / 0.9218 GB, free: 72.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02155/1.687, allocations: 8.608 MB / 0.9302 GB, free: 71.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004108/1.691, allocations: 1.038 MB / 0.9312 GB, free: 70.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06331/1.754, allocations: 48.61 MB / 0.9787 GB, free: 50.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006144/1.76, allocations: 0.493 MB / 0.9792 GB, free: 50.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/1.762, allocations: 277.1 kB / 0.9794 GB, free: 50.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[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],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 526 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.006134/1.768, allocations: 2.288 MB / 0.9817 GB, free: 48.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/1.77, allocations: 489.8 kB / 0.9821 GB, free: 48.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0328/1.802, allocations: 17.61 MB / 0.9993 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02866/1.831, allocations: 16.13 MB / 1.015 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.203e-05/1.831, allocations: 28 kB / 1.015 GB, free: 21.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.128e-05/1.831, allocations: 20.42 kB / 1.015 GB, free: 21.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2861/2.118, allocations: 34.76 MB / 1.049 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.767e-05/2.118, allocations: 6.188 kB / 1.049 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/2.12, allocations: 449.5 kB / 1.05 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02242/2.143, allocations: 8.053 MB / 1.057 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001108/2.144, allocations: 80.33 kB / 1.057 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06399/2.208, allocations: 47.68 MB / 1.104 GB, free: 85.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01223/2.22, allocations: 9.695 MB / 1.113 GB, free: 80.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03696/2.257, allocations: 23.24 MB / 1.136 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003578/2.261, allocations: 1.433 MB / 1.138 GB, free: 72.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/2.262, allocations: 72.72 kB / 1.138 GB, free: 72.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003333/2.265, allocations: 359.8 kB / 1.138 GB, free: 72.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001328/2.266, allocations: 337.7 kB / 1.138 GB, free: 72.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003431/2.267, allocations: 101.7 kB / 1.138 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004191/2.271, allocations: 2.788 MB / 1.141 GB, free: 71.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/2.271, allocations: 3.406 kB / 1.141 GB, free: 71.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00647/2.277, allocations: 1.977 MB / 1.143 GB, free: 70.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (226): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006262/2.278, allocations: 192.4 kB / 1.143 GB, free: 70.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01691/2.295, allocations: 12.36 MB / 1.155 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/2.295, allocations: 11.77 kB / 1.155 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01121/2.306, allocations: 7.12 MB / 1.162 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007938/2.314, allocations: 0.8006 MB / 1.163 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/2.337, allocations: 18.64 MB / 1.181 GB, free: 47.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004108/2.342, allocations: 4.201 MB / 1.185 GB, free: 44.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/2.343, allocations: 320.5 kB / 1.186 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/2.343, allocations: 3.188 kB / 1.186 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.4037/2.747, allocations: 154.2 MB / 1.336 GB, free: 83.04 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevolutePlanarLoopConstraint/RevolutePlanarLoopConstraint.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w,revolute4.phi,revolute4.w Variables in the result:revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w,revolute4.phi,revolute4.w,time