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.001119/0.001119, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.66/1.66, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001018/0.001018, allocations: 98.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2558/0.2558, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003854, allocations: 20 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4911/0.6396, allocations: 104.8 MB / 0.5811 GB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.6399, allocations: 79.47 kB / 0.5811 GB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3018/0.9417, allocations: 111.4 MB / 0.6899 GB, free: 3.863 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.9418, allocations: 0 / 0.6899 GB, free: 3.863 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006232/0.9424, allocations: 108 kB / 0.69 GB, free: 3.758 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.02786/0.9703, allocations: 6.959 MB / 0.6968 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.9704, allocations: 12.03 kB / 0.6968 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03956/1.01, allocations: 10.12 MB / 0.7067 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3675/1.377, allocations: 9.89 MB / 0.7164 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009198/1.378, allocations: 363.3 kB / 0.7167 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003253/1.382, allocations: 475 kB / 0.7172 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03176/1.414, allocations: 10.76 MB / 0.7277 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002797/1.414, allocations: 65.66 kB / 0.7277 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006534/1.415, allocations: 202.9 kB / 0.7279 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001341/1.416, allocations: 0.9918 MB / 0.7289 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02051/1.436, allocations: 9.069 MB / 0.7377 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06586/1.502, allocations: 44.08 MB / 0.7808 GB, free: 81.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02111/1.524, allocations: 7.927 MB / 0.7885 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.525, allocations: 1.127 MB / 0.7896 GB, free: 78.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.351e-05/1.525, allocations: 63.56 kB / 0.7897 GB, free: 78.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=286): time 4.598e-06/1.525, allocations: 0 / 0.7897 GB, free: 78.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=415): time 0.2134/1.738, allocations: 76.48 MB / 0.8644 GB, free: 25.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01366/1.752, allocations: 11.35 MB / 0.8755 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005394/1.757, allocations: 3.746 MB / 0.8791 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00118/1.759, allocations: 97.69 kB / 0.8792 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/1.76, allocations: 3.009 MB / 0.8822 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00177/1.762, allocations: 1.44 MB / 0.8836 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004128/1.763, allocations: 108 kB / 0.8837 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002294/1.763, allocations: 0.5376 MB / 0.8842 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004941/1.768, allocations: 4.485 MB / 0.8886 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007975/1.776, allocations: 6.527 MB / 0.8949 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008236/1.784, allocations: 5.453 MB / 0.9003 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.381e-05/1.784, allocations: 23.47 kB / 0.9003 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.3364/2.12, allocations: 18.59 MB / 0.9184 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.09e-05/2.121, allocations: 38.05 kB / 0.9185 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/2.121, allocations: 66.19 kB / 0.9185 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02385/2.145, allocations: 8.622 MB / 0.927 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004462/2.149, allocations: 1.041 MB / 0.928 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06312/2.212, allocations: 50.55 MB / 0.9773 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006885/2.219, allocations: 496.3 kB / 0.9778 GB, free: 96.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/2.221, allocations: 282.3 kB / 0.9781 GB, free: 96.93 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.006273/2.227, allocations: 2.284 MB / 0.9803 GB, free: 96.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/2.229, allocations: 485.1 kB / 0.9808 GB, free: 96.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03451/2.263, allocations: 17.6 MB / 0.998 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03177/2.295, allocations: 16.12 MB / 1.014 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.451e-05/2.295, allocations: 27.52 kB / 1.014 GB, free: 78.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/2.295, allocations: 23.36 kB / 1.014 GB, free: 78.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05959/2.355, allocations: 34.76 MB / 1.048 GB, free: 47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.755e-05/2.355, allocations: 8 kB / 1.048 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/2.358, allocations: 451.3 kB / 1.048 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02178/2.38, allocations: 8.046 MB / 1.056 GB, free: 38.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001231/2.381, allocations: 79.98 kB / 1.056 GB, free: 38.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3895/2.77, allocations: 49.77 MB / 1.105 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01641/2.787, allocations: 10.13 MB / 1.115 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04415/2.831, allocations: 23.95 MB / 1.138 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004895/2.836, allocations: 1.424 MB / 1.139 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001712/2.838, allocations: 74.27 kB / 1.139 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004246/2.842, allocations: 358.5 kB / 1.14 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001373/2.843, allocations: 337.7 kB / 1.14 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003628/2.844, allocations: 106.8 kB / 1.14 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004489/2.848, allocations: 2.783 MB / 1.143 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/2.848, allocations: 3.062 kB / 1.143 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008465/2.857, allocations: 1.981 MB / 1.145 GB, free: 113.3 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.001059/2.858, allocations: 201.6 kB / 1.145 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01955/2.877, allocations: 12.36 MB / 1.157 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.035e-05/2.877, allocations: 2.156 kB / 1.157 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01254/2.89, allocations: 7.12 MB / 1.164 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004832/2.895, allocations: 0.7438 MB / 1.165 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02747/2.922, allocations: 18 MB / 1.182 GB, free: 97.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005835/2.928, allocations: 4.305 MB / 1.187 GB, free: 96.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00526/2.934, allocations: 1.707 MB / 1.188 GB, free: 96.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/2.935, allocations: 297.9 kB / 1.189 GB, free: 96.36 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/2.935, allocations: 2.406 kB / 1.189 GB, free: 96.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.4531/3.388, allocations: 109.1 MB / 1.295 GB, free: 119.6 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)