Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 179.8 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 242.1 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007927/0.0007926, allocations: 94.02 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3257/0.3257, allocations: 44.14 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3642, allocations: 61.88 MB / 0.5107 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.5002, allocations: 106.6 MB / 0.6148 GB, free: 4.453 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.5005, allocations: 83.95 kB / 0.6149 GB, free: 4.375 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5259/1.026, allocations: 110 MB / 0.7224 GB, free: 93.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.356e-06/1.026, allocations: 0 / 0.7224 GB, free: 93.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005897/1.027, allocations: 111 kB / 0.7225 GB, free: 93.49 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.02229/1.049, allocations: 6.495 MB / 0.7288 GB, free: 90.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/1.049, allocations: 11.47 kB / 0.7288 GB, free: 90.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02681/1.076, allocations: 6.838 MB / 0.7355 GB, free: 89.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/1.093, allocations: 7.92 MB / 0.7432 GB, free: 86.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/1.093, allocations: 372.5 kB / 0.7436 GB, free: 86.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001766/1.095, allocations: 467.9 kB / 0.744 GB, free: 86.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02403/1.119, allocations: 10.56 MB / 0.7544 GB, free: 81.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002561/1.119, allocations: 63.86 kB / 0.7544 GB, free: 81.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005712/1.12, allocations: 197 kB / 0.7546 GB, free: 81.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001258/1.121, allocations: 1.005 MB / 0.7556 GB, free: 81.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/1.14, allocations: 8.834 MB / 0.7642 GB, free: 78.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05463/1.195, allocations: 43.87 MB / 0.8071 GB, free: 36.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02768/1.222, allocations: 7.642 MB / 0.8145 GB, free: 28.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007599/1.23, allocations: 4.968 MB / 0.8194 GB, free: 23.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.231, allocations: 1.122 MB / 0.8205 GB, free: 22.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/1.231, allocations: 68.84 kB / 0.8205 GB, free: 22.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 8.005e-06/1.231, allocations: 0 / 0.8205 GB, free: 22.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=415): time 0.4962/1.728, allocations: 75.16 MB / 0.8939 GB, free: 113 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01534/1.743, allocations: 10.93 MB / 0.9046 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009043/1.752, allocations: 4.188 MB / 0.9087 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001232/1.753, allocations: 93.7 kB / 0.9088 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00241/1.756, allocations: 2.989 MB / 0.9117 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001963/1.758, allocations: 1.435 MB / 0.9131 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004495/1.758, allocations: 115.9 kB / 0.9132 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002673/1.759, allocations: 0.5331 MB / 0.9137 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006155/1.765, allocations: 4.483 MB / 0.9181 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006356/1.771, allocations: 6.553 MB / 0.9245 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01316/1.784, allocations: 11.78 MB / 0.936 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.581e-05/1.784, allocations: 19.31 kB / 0.936 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.03414/1.818, allocations: 18.6 MB / 0.9542 GB, free: 84.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/1.819, allocations: 37.7 kB / 0.9542 GB, free: 84.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.211e-05/1.819, allocations: 65.84 kB / 0.9543 GB, free: 84.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02184/1.841, allocations: 8.615 MB / 0.9627 GB, free: 83.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004257/1.845, allocations: 1.036 MB / 0.9637 GB, free: 83.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05671/1.902, allocations: 48.61 MB / 1.011 GB, free: 44.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006908/1.908, allocations: 495.3 kB / 1.012 GB, free: 43.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/1.91, allocations: 279.9 kB / 1.012 GB, free: 43.64 MB / 0.5105 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.007658/1.918, allocations: 2.283 MB / 1.014 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.92, allocations: 481.9 kB / 1.015 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03017/1.95, allocations: 17.61 MB / 1.032 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02785/1.978, allocations: 16.12 MB / 1.048 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.679e-05/1.978, allocations: 28 kB / 1.048 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.663e-05/1.978, allocations: 19.92 kB / 1.048 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3945/2.372, allocations: 34.74 MB / 1.082 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.881e-05/2.372, allocations: 5.875 kB / 1.082 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002372/2.375, allocations: 448.8 kB / 1.082 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02093/2.396, allocations: 8.056 MB / 1.09 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001276/2.397, allocations: 77.05 kB / 1.09 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06167/2.459, allocations: 47.68 MB / 1.136 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01205/2.471, allocations: 9.693 MB / 1.146 GB, free: 97.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0375/2.508, allocations: 23.25 MB / 1.169 GB, free: 88.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/2.51, allocations: 0.507 MB / 1.169 GB, free: 87.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/2.512, allocations: 79.61 kB / 1.169 GB, free: 87.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003881/2.516, allocations: 359 kB / 1.17 GB, free: 87.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001729/2.518, allocations: 331.9 kB / 1.17 GB, free: 87.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/2.518, allocations: 105.8 kB / 1.17 GB, free: 87.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004576/2.523, allocations: 2.744 MB / 1.173 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/2.523, allocations: 0 / 1.173 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00834/2.531, allocations: 1.973 MB / 1.175 GB, free: 82.88 MB / 0.5261 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.0008867/2.532, allocations: 211.5 kB / 1.175 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01819/2.55, allocations: 12.36 MB / 1.187 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/2.55, allocations: 0 / 1.187 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01229/2.562, allocations: 7.114 MB / 1.194 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/2.573, allocations: 0.8039 MB / 1.195 GB, free: 65.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0338/2.607, allocations: 17.96 MB / 1.212 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009362/2.617, allocations: 4.178 MB / 1.216 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005882/2.623, allocations: 1.674 MB / 1.218 GB, free: 44.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/2.624, allocations: 299.4 kB / 1.218 GB, free: 43.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/2.624, allocations: 0 / 1.218 GB, free: 43.75 MB / 0.5261 GB Notification: Performance of Templates: time 0.4702/3.095, allocations: 109.2 MB / 1.325 GB, free: 115.2 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)