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.001276/0.001276, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.199/1.199, allocations: 221.3 MB / 236 MB, free: 3.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008825/0.0008826, allocations: 88.11 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1733/0.1733, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.37e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3741/0.4841, allocations: 106.4 MB / 0.6056 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4844, allocations: 75.97 kB / 0.6057 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5464/1.031, allocations: 112.6 MB / 0.7156 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.395e-06/1.031, allocations: 1 kB / 0.7156 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004828/1.031, allocations: 107.9 kB / 0.7157 GB, free: 111.6 MB / 0.5105 GB 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.02243/1.054, allocations: 6.112 MB / 0.7217 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.054, allocations: 9.125 kB / 0.7217 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03888/1.093, allocations: 10.13 MB / 0.7316 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/1.116, allocations: 9.209 MB / 0.7406 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/1.116, allocations: 362.3 kB / 0.7409 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/1.117, allocations: 478.6 kB / 0.7414 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/1.139, allocations: 10.67 MB / 0.7518 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002377/1.139, allocations: 62.5 kB / 0.7519 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005911/1.14, allocations: 199.5 kB / 0.7521 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001283/1.141, allocations: 0.9951 MB / 0.753 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/1.16, allocations: 8.946 MB / 0.7618 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05113/1.212, allocations: 43.98 MB / 0.8047 GB, free: 80.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02218/1.234, allocations: 7.88 MB / 0.8124 GB, free: 78.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004933/1.239, allocations: 4.93 MB / 0.8172 GB, free: 74.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.24, allocations: 1.126 MB / 0.8183 GB, free: 73.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/1.24, allocations: 68.75 kB / 0.8184 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=286): time 5.1e-06/1.24, allocations: 3.594 kB / 0.8184 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=415): time 0.1775/1.418, allocations: 64.79 MB / 0.8817 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01418/1.432, allocations: 10.89 MB / 0.8923 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007627/1.44, allocations: 3.653 MB / 0.8959 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001266/1.441, allocations: 93.64 kB / 0.8959 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002631/1.443, allocations: 2.988 MB / 0.8989 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002962/1.446, allocations: 1.435 MB / 0.9003 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/1.448, allocations: 116 kB / 0.9004 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004699/1.448, allocations: 0.5336 MB / 0.9009 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006955/1.455, allocations: 4.423 MB / 0.9052 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008674/1.464, allocations: 6.457 MB / 0.9115 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3021/1.766, allocations: 5.415 MB / 0.9168 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.59e-05/1.766, allocations: 19.92 kB / 0.9168 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.04146/1.808, allocations: 18.46 MB / 0.9349 GB, free: 115 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/1.808, allocations: 34.06 kB / 0.9349 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.759e-05/1.808, allocations: 68.81 kB / 0.935 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02233/1.83, allocations: 8.605 MB / 0.9434 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004875/1.835, allocations: 1.039 MB / 0.9444 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06266/1.898, allocations: 48.46 MB / 0.9917 GB, free: 97.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006648/1.904, allocations: 494.8 kB / 0.9922 GB, free: 97.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/1.906, allocations: 280.1 kB / 0.9924 GB, free: 97.69 MB / 0.5261 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 () * 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.001352/1.908, allocations: 0.4966 MB / 0.9929 GB, free: 97.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001368/1.909, allocations: 483.5 kB / 0.9934 GB, free: 97.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03196/1.941, allocations: 17.5 MB / 1.01 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02886/1.97, allocations: 16.01 MB / 1.026 GB, free: 76.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.105e-05/1.97, allocations: 28 kB / 1.026 GB, free: 76.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001106/1.97, allocations: 19.97 kB / 1.026 GB, free: 76.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06096/2.031, allocations: 34.57 MB / 1.06 GB, free: 45.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.031e-05/2.031, allocations: 8 kB / 1.06 GB, free: 45.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/2.033, allocations: 453.5 kB / 1.06 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02044/2.054, allocations: 8.035 MB / 1.068 GB, free: 37.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001252/2.055, allocations: 79.59 kB / 1.068 GB, free: 37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3677/2.423, allocations: 47.51 MB / 1.115 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01528/2.438, allocations: 9.665 MB / 1.124 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03982/2.478, allocations: 23.78 MB / 1.147 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/2.48, allocations: 0.5094 MB / 1.148 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/2.481, allocations: 83.67 kB / 1.148 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003416/2.484, allocations: 359.7 kB / 1.148 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/2.486, allocations: 341.3 kB / 1.149 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003575/2.486, allocations: 103.9 kB / 1.149 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003901/2.49, allocations: 2.698 MB / 1.151 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.71e-07/2.49, allocations: 3.344 kB / 1.151 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006899/2.497, allocations: 1.972 MB / 1.153 GB, free: 116.4 MB / 0.5417 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 () * 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.0006324/2.497, allocations: 199.1 kB / 1.153 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01792/2.515, allocations: 12.19 MB / 1.165 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/2.515, allocations: 0 / 1.165 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/2.527, allocations: 7.01 MB / 1.172 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/2.532, allocations: 0.7548 MB / 1.173 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/2.551, allocations: 13.66 MB / 1.186 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004186/2.555, allocations: 4.29 MB / 1.19 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004805/2.56, allocations: 1.69 MB / 1.192 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/2.561, allocations: 297.6 kB / 1.192 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of SimCode: time 8.32e-07/2.561, allocations: 0 / 1.192 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.1482/2.71, allocations: 108.8 MB / 1.299 GB, free: 17.11 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)