Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001013/0.001013, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 225.4 MB / 240.1 MB, free: 15.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008776/0.0008778, allocations: 99.3 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.191/0.191, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.4e-05, allocations: 7.516 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 63.24 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4088/0.5119, allocations: 107.3 MB / 0.6162 GB, free: 2.895 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.5122, allocations: 73.84 kB / 0.6162 GB, free: 2.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2911/0.8033, allocations: 118.3 MB / 0.7317 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.073e-06/0.8033, allocations: 0 / 0.7317 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003721/0.8037, allocations: 108 kB / 0.7318 GB, free: 4.559 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.0197/0.8234, allocations: 6.189 MB / 0.7379 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.8235, allocations: 11.97 kB / 0.7379 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0373/0.8608, allocations: 10.13 MB / 0.7478 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2875/1.148, allocations: 8.312 MB / 0.7559 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/1.149, allocations: 366 kB / 0.7563 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/1.151, allocations: 473.5 kB / 0.7567 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02222/1.173, allocations: 10.67 MB / 0.7671 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002094/1.173, allocations: 64.78 kB / 0.7672 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004833/1.173, allocations: 207.1 kB / 0.7674 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001353/1.175, allocations: 0.9939 MB / 0.7684 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/1.194, allocations: 8.942 MB / 0.7771 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04541/1.239, allocations: 43.97 MB / 0.82 GB, free: 91.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01982/1.259, allocations: 7.891 MB / 0.8277 GB, free: 89.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005336/1.265, allocations: 4.93 MB / 0.8325 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/1.266, allocations: 1.124 MB / 0.8336 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/1.266, allocations: 60.97 kB / 0.8337 GB, free: 86.78 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=286): time 5.209e-06/1.266, allocations: 0 / 0.8337 GB, free: 86.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=415): time 0.1682/1.434, allocations: 64.81 MB / 0.897 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01352/1.448, allocations: 10.89 MB / 0.9076 GB, free: 35.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006447/1.454, allocations: 3.643 MB / 0.9112 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001036/1.455, allocations: 89.7 kB / 0.9113 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001938/1.457, allocations: 2.995 MB / 0.9142 GB, free: 28.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001888/1.459, allocations: 1.435 MB / 0.9156 GB, free: 27.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009098/1.46, allocations: 108 kB / 0.9157 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002883/1.46, allocations: 0.5375 MB / 0.9162 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005301/1.466, allocations: 4.423 MB / 0.9205 GB, free: 22.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006953/1.472, allocations: 6.464 MB / 0.9269 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007031/1.48, allocations: 5.417 MB / 0.9321 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.692e-05/1.48, allocations: 16 kB / 0.9322 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.03693/1.517, allocations: 18.46 MB / 0.9502 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/1.517, allocations: 32 kB / 0.9502 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.946e-05/1.517, allocations: 75.84 kB / 0.9503 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3204/1.837, allocations: 8.608 MB / 0.9587 GB, free: 118.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004413/1.842, allocations: 1.033 MB / 0.9597 GB, free: 118.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0613/1.903, allocations: 48.44 MB / 1.007 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/1.908, allocations: 494 kB / 1.007 GB, free: 110.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006256/1.909, allocations: 280.9 kB / 1.008 GB, free: 110.2 MB / 0.5417 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.001054/1.91, allocations: 0.4924 MB / 1.008 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008512/1.911, allocations: 483.7 kB / 1.009 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03039/1.941, allocations: 17.5 MB / 1.026 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02816/1.969, allocations: 16.01 MB / 1.041 GB, free: 100 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.008e-05/1.969, allocations: 38.77 kB / 1.041 GB, free: 100 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.282e-05/1.969, allocations: 17.02 kB / 1.041 GB, free: 100 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05238/2.022, allocations: 34.57 MB / 1.075 GB, free: 78.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.629e-05/2.022, allocations: 4 kB / 1.075 GB, free: 78.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/2.024, allocations: 450.6 kB / 1.076 GB, free: 78.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01929/2.043, allocations: 8.038 MB / 1.084 GB, free: 72.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006826/2.044, allocations: 79.42 kB / 1.084 GB, free: 72.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05237/2.096, allocations: 47.52 MB / 1.13 GB, free: 27.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01145/2.108, allocations: 9.673 MB / 1.139 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03752/2.145, allocations: 23.78 MB / 1.163 GB, free: 9.809 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/2.147, allocations: 0.5074 MB / 1.163 GB, free: 9.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001626/2.149, allocations: 83.94 kB / 1.163 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3055/2.454, allocations: 349.9 kB / 1.164 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001746/2.456, allocations: 337.9 kB / 1.164 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003946/2.456, allocations: 103.8 kB / 1.164 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00502/2.462, allocations: 2.704 MB / 1.167 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/2.462, allocations: 0 / 1.167 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009684/2.471, allocations: 1.968 MB / 1.169 GB, free: 129.9 MB / 0.5573 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.0009469/2.472, allocations: 210.3 kB / 1.169 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02084/2.493, allocations: 12.18 MB / 1.181 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/2.493, allocations: 1.031 kB / 1.181 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01277/2.506, allocations: 7.015 MB / 1.188 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005033/2.511, allocations: 0.7493 MB / 1.188 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02689/2.538, allocations: 13.66 MB / 1.202 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006091/2.544, allocations: 4.292 MB / 1.206 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004592/2.549, allocations: 1.677 MB / 1.207 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/2.55, allocations: 300.7 kB / 1.208 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/2.55, allocations: 0 / 1.208 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.1423/2.692, allocations: 108.8 MB / 1.314 GB, free: 62.46 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)