Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001001/0.001001, allocations: 176.2 kB / 16.76 MB, free: 5.039 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.418/1.418, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007914/0.0007916, allocations: 85.41 kB / 271.3 MB, free: 8.238 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.3577/0.3577, allocations: 43.57 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 16 kB / 432.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.126, allocations: 58.85 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3953/0.5214, allocations: 104.9 MB / 0.5824 GB, free: 12.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.5217, allocations: 79.95 kB / 0.5825 GB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5169/1.039, allocations: 108.9 MB / 0.6889 GB, free: 84.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.248e-06/1.039, allocations: 0 / 0.6889 GB, free: 84.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005883/1.039, allocations: 103 kB / 0.689 GB, free: 84.03 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.02506/1.064, allocations: 6.546 MB / 0.6954 GB, free: 81.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.064, allocations: 12.62 kB / 0.6954 GB, free: 81.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03057/1.095, allocations: 6.836 MB / 0.7021 GB, free: 81.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02225/1.117, allocations: 8.561 MB / 0.7104 GB, free: 80.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007227/1.118, allocations: 363.3 kB / 0.7108 GB, free: 80.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003028/1.121, allocations: 472.5 kB / 0.7112 GB, free: 80.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03313/1.154, allocations: 10.56 MB / 0.7215 GB, free: 78.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000621/1.155, allocations: 72.31 kB / 0.7216 GB, free: 78.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002538/1.157, allocations: 202 kB / 0.7218 GB, free: 78.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002207/1.16, allocations: 0.9877 MB / 0.7227 GB, free: 78.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02289/1.183, allocations: 8.844 MB / 0.7314 GB, free: 77.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06725/1.25, allocations: 43.96 MB / 0.7743 GB, free: 49.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02221/1.272, allocations: 7.64 MB / 0.7818 GB, free: 47.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006246/1.278, allocations: 4.973 MB / 0.7866 GB, free: 45.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/1.28, allocations: 1.122 MB / 0.7877 GB, free: 44.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.095e-05/1.28, allocations: 68.91 kB / 0.7878 GB, free: 44.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 5.851e-06/1.28, allocations: 0 / 0.7878 GB, free: 44.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=415): time 0.5003/1.78, allocations: 75.35 MB / 0.8614 GB, free: 90.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01576/1.796, allocations: 10.93 MB / 0.8721 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005851/1.802, allocations: 4.251 MB / 0.8762 GB, free: 88.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000952/1.803, allocations: 99.94 kB / 0.8763 GB, free: 88.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001781/1.805, allocations: 3.003 MB / 0.8792 GB, free: 88.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001395/1.806, allocations: 1.439 MB / 0.8806 GB, free: 87.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/1.806, allocations: 114 kB / 0.8808 GB, free: 87.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002221/1.807, allocations: 0.5366 MB / 0.8813 GB, free: 87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005479/1.812, allocations: 4.483 MB / 0.8857 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006408/1.819, allocations: 6.552 MB / 0.8921 GB, free: 84.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/1.834, allocations: 11.78 MB / 0.9036 GB, free: 78.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.684e-05/1.834, allocations: 19.66 kB / 0.9036 GB, free: 78.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0369/1.871, allocations: 18.6 MB / 0.9217 GB, free: 73.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/1.871, allocations: 32.97 kB / 0.9218 GB, free: 73.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.698e-05/1.871, allocations: 68.41 kB / 0.9218 GB, free: 73.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01997/1.891, allocations: 8.616 MB / 0.9303 GB, free: 71.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/1.895, allocations: 1.04 MB / 0.9313 GB, free: 71.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05611/1.951, allocations: 48.6 MB / 0.9787 GB, free: 50.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005983/1.957, allocations: 498.1 kB / 0.9792 GB, free: 50.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/1.958, allocations: 280.7 kB / 0.9795 GB, free: 50.66 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.005336/1.963, allocations: 2.284 MB / 0.9817 GB, free: 48.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001507/1.965, allocations: 493.8 kB / 0.9822 GB, free: 48.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02964/1.995, allocations: 17.62 MB / 0.9994 GB, free: 34.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02743/2.022, allocations: 16.12 MB / 1.015 GB, free: 21.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.067e-05/2.022, allocations: 28 kB / 1.015 GB, free: 21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.687e-05/2.022, allocations: 19.92 kB / 1.015 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3461/2.368, allocations: 34.76 MB / 1.049 GB, free: 94.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-05/2.368, allocations: 12.09 kB / 1.049 GB, free: 94.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/2.371, allocations: 447.1 kB / 1.05 GB, free: 94.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02297/2.394, allocations: 8.051 MB / 1.057 GB, free: 94.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001668/2.396, allocations: 78.83 kB / 1.057 GB, free: 94.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06543/2.461, allocations: 47.68 MB / 1.104 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01208/2.473, allocations: 9.705 MB / 1.114 GB, free: 81.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03767/2.511, allocations: 23.23 MB / 1.136 GB, free: 73.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004522/2.516, allocations: 1.428 MB / 1.138 GB, free: 72.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/2.517, allocations: 77.41 kB / 1.138 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004394/2.522, allocations: 358.3 kB / 1.138 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001695/2.523, allocations: 340.3 kB / 1.138 GB, free: 72.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003408/2.524, allocations: 105.6 kB / 1.138 GB, free: 72.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004858/2.529, allocations: 2.787 MB / 1.141 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/2.529, allocations: 0 / 1.141 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008459/2.537, allocations: 1.974 MB / 1.143 GB, free: 71.5 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.0008495/2.538, allocations: 204.9 kB / 1.143 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01774/2.556, allocations: 12.36 MB / 1.155 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/2.556, allocations: 2.781 kB / 1.155 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01254/2.568, allocations: 7.114 MB / 1.162 GB, free: 63.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01091/2.579, allocations: 0.8 MB / 1.163 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03078/2.61, allocations: 18.02 MB / 1.181 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007355/2.618, allocations: 4.196 MB / 1.185 GB, free: 45.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005693/2.623, allocations: 1.706 MB / 1.186 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/2.625, allocations: 296.5 kB / 1.187 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of SimCode: time 8.31e-07/2.625, allocations: 0 / 1.187 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of Templates: time 0.4257/3.051, allocations: 109.4 MB / 1.294 GB, free: 91.5 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)