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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001415, allocations: 117.2 kB / 18.45 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 206.6 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 251.6 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2434/0.2434, allocations: 46.17 MB / 351.1 MB, free: 14.26 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,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=5007,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 81.17 kB / 490.2 MB, free: 27.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1227, allocations: 62.46 MB / 0.5397 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01934/0.1421, allocations: 16.81 MB / 0.5561 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.1542, allocations: 5.475 MB / 0.5615 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.1571, allocations: 131.6 kB / 0.5616 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0128/0.1699, allocations: 4.641 MB / 0.5661 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.1801, allocations: 2.426 MB / 0.5685 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004515/0.1847, allocations: 1.307 MB / 0.5698 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02102/0.2057, allocations: 8.625 MB / 0.5782 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01171/0.2175, allocations: 5.521 MB / 0.5836 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007097/0.2246, allocations: 2.571 MB / 0.5861 GB, free: 4.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00842/0.233, allocations: 3.19 MB / 0.5892 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001992/0.2351, allocations: 0.4922 MB / 0.5897 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004626/0.2397, allocations: 1.256 MB / 0.5909 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005022/0.2448, allocations: 2.829 MB / 0.5937 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004454/0.2492, allocations: 3.038 MB / 0.5966 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.2616, allocations: 9.177 MB / 0.6056 GB, free: 460 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.2616, allocations: 4 kB / 0.6056 GB, free: 456 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2616, allocations: 0 / 0.6056 GB, free: 456 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002404/0.2619, allocations: 0 / 0.6056 GB, free: 456 kB / 462.1 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.2794/0.5413, allocations: 7.347 MB / 0.6128 GB, free: 57.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5413, allocations: 11.22 kB / 0.6128 GB, free: 57.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01301/0.5543, allocations: 1.982 MB / 0.6147 GB, free: 56.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/0.5688, allocations: 5.577 MB / 0.6202 GB, free: 54.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004403/0.5693, allocations: 325.9 kB / 0.6205 GB, free: 54.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/0.5711, allocations: 421.3 kB / 0.6209 GB, free: 54.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02171/0.5929, allocations: 11.01 MB / 0.6316 GB, free: 47.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001937/0.5931, allocations: 68.72 kB / 0.6317 GB, free: 47.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004366/0.5935, allocations: 176.9 kB / 0.6319 GB, free: 47.56 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002696/0.5962, allocations: 1.727 MB / 0.6336 GB, free: 46.9 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01828/0.6145, allocations: 9.551 MB / 0.6429 GB, free: 38.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05593/0.6705, allocations: 45.16 MB / 0.687 GB, free: 7.773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02343/0.694, allocations: 7.864 MB / 0.6947 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008072/0.7021, allocations: 5.376 MB / 0.6999 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02407/0.7262, allocations: 13.3 MB / 0.7129 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.38e-05/0.7263, allocations: 64.8 kB / 0.713 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=283): time 5.079e-06/0.7264, allocations: 0 / 0.713 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=406): time 0.2642/0.9905, allocations: 78.08 MB / 0.7892 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0282/1.019, allocations: 11.11 MB / 0.8001 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/1.029, allocations: 4.295 MB / 0.8043 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001426/1.031, allocations: 89.7 kB / 0.8044 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003976/1.035, allocations: 2.953 MB / 0.8072 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003326/1.038, allocations: 1.484 MB / 0.8087 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003155/1.041, allocations: 1.286 MB / 0.8099 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.041, allocations: 305.1 kB / 0.8102 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00897/1.05, allocations: 5.091 MB / 0.8152 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01166/1.062, allocations: 7.16 MB / 0.8222 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02123/1.083, allocations: 12.82 MB / 0.8347 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.603e-05/1.083, allocations: 24 kB / 0.8347 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.4196/1.503, allocations: 21.01 MB / 0.8553 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.249e-05/1.503, allocations: 34.66 kB / 0.8553 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/1.503, allocations: 64.41 kB / 0.8554 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02876/1.532, allocations: 9.719 MB / 0.8648 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00481/1.537, allocations: 1.129 MB / 0.866 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06543/1.602, allocations: 57.06 MB / 0.9217 GB, free: 166.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006457/1.609, allocations: 0.5364 MB / 0.9222 GB, free: 165.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.61, allocations: 295.9 kB / 0.9225 GB, free: 165.4 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * 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 (591): * Single equations (assignments): 582 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(11,104,52.1%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,48)} Notification: Performance of prepare postOptimizeDAE: time 0.004286/1.615, allocations: 2.281 MB / 0.9247 GB, free: 163.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.616, allocations: 492.6 kB / 0.9252 GB, free: 162.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0346/1.65, allocations: 19.43 MB / 0.9442 GB, free: 143.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0321/1.683, allocations: 17.92 MB / 0.9617 GB, free: 125.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-05/1.683, allocations: 28 kB / 0.9617 GB, free: 125.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001001/1.683, allocations: 19.92 kB / 0.9617 GB, free: 125.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05898/1.742, allocations: 36.56 MB / 0.9974 GB, free: 88.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.753e-05/1.742, allocations: 4 kB / 0.9974 GB, free: 88.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/1.744, allocations: 451.3 kB / 0.9978 GB, free: 88.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02407/1.768, allocations: 9.599 MB / 1.007 GB, free: 78.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001321/1.77, allocations: 75.98 kB / 1.007 GB, free: 78.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06156/1.831, allocations: 55.62 MB / 1.062 GB, free: 22.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01188/1.843, allocations: 9.802 MB / 1.071 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3944/2.238, allocations: 25.94 MB / 1.096 GB, free: 197 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/2.24, allocations: 0.5417 MB / 1.097 GB, free: 196.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002095/2.242, allocations: 80.34 kB / 1.097 GB, free: 196.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004774/2.247, allocations: 410.4 kB / 1.097 GB, free: 196.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001892/2.248, allocations: 330.6 kB / 1.098 GB, free: 196.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004312/2.249, allocations: 95.91 kB / 1.098 GB, free: 196.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005341/2.254, allocations: 2.799 MB / 1.101 GB, free: 196.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.4e-07/2.254, allocations: 0 / 1.101 GB, free: 196.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.009707/2.264, allocations: 2.106 MB / 1.103 GB, free: 196.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (217): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(9,99,61.7%), (4,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009748/2.265, allocations: 188.8 kB / 1.103 GB, free: 196.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01913/2.284, allocations: 13.48 MB / 1.116 GB, free: 191.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/2.284, allocations: 3.469 kB / 1.116 GB, free: 191.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01187/2.296, allocations: 7.427 MB / 1.123 GB, free: 188.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005595/2.302, allocations: 0.7827 MB / 1.124 GB, free: 188.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02422/2.326, allocations: 16.61 MB / 1.14 GB, free: 177.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004875/2.331, allocations: 4.148 MB / 1.144 GB, free: 174.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004621/2.336, allocations: 1.593 MB / 1.146 GB, free: 173.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/2.337, allocations: 298.3 kB / 1.146 GB, free: 173.1 MB / 0.6231 GB Notification: Performance of SimCode: time 2.715e-06/2.337, allocations: 0 / 1.146 GB, free: 173.1 MB / 0.6231 GB Notification: Performance of Templates: time 0.1535/2.49, allocations: 124.9 MB / 1.268 GB, free: 48.73 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.776885021477938]