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.002884/0.002884, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.003379/0.003379, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.612/1.612, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.3803/0.3803, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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 2.124e-06/2.124e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.959e-05/4.171e-05, allocations: 2.312 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02308/0.02312, allocations: 16.12 MB / 393.3 MB, free: 2.727 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.03724, allocations: 5.393 MB / 398.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003478/0.04071, allocations: 163.1 kB / 398.9 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01079/0.05151, allocations: 4.988 MB / 403.9 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007756/0.05926, allocations: 2.605 MB / 406.5 MB, free: 5.535 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.06271, allocations: 1.49 MB / 408 MB, free: 4.043 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0157/0.0784, allocations: 10.06 MB / 418 MB, free: 9.969 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009112/0.08752, allocations: 5.467 MB / 423.5 MB, free: 4.438 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009392/0.09691, allocations: 3.961 MB / 427.5 MB, free: 480 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007237/0.1041, allocations: 3.808 MB / 431.3 MB, free: 12.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001538/0.1057, allocations: 0.5117 MB / 431.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.1086, allocations: 1.291 MB / 433.1 MB, free: 10.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003705/0.1123, allocations: 3.113 MB / 436.2 MB, free: 7.727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00327/0.1156, allocations: 1.944 MB / 438.1 MB, free: 5.777 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2014/0.317, allocations: 9.49 MB / 447.6 MB, free: 67.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.317, allocations: 2.781 kB / 447.6 MB, free: 67.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.317, allocations: 0 / 447.6 MB, free: 67.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002747/0.3173, allocations: 0 / 447.6 MB, free: 67.09 MB / 410.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.01993/0.3372, allocations: 8.297 MB / 455.9 MB, free: 64.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3372, allocations: 8.656 kB / 455.9 MB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.3499, allocations: 2.463 MB / 458.4 MB, free: 63.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/0.3631, allocations: 4.918 MB / 463.3 MB, free: 63.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005728/0.3637, allocations: 350.6 kB / 463.7 MB, free: 63.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002285/0.3659, allocations: 418.4 kB / 464.1 MB, free: 63.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.3838, allocations: 7.325 MB / 471.4 MB, free: 60.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002026/0.384, allocations: 61.56 kB / 471.4 MB, free: 60.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004689/0.3845, allocations: 180.1 kB / 471.6 MB, free: 60.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002951/0.3874, allocations: 1.721 MB / 473.3 MB, free: 59.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.4048, allocations: 4.379 MB / 477.7 MB, free: 59.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06028/0.465, allocations: 45.89 MB / 0.5113 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01894/0.484, allocations: 4.903 MB / 0.5161 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/0.4875, allocations: 1.547 MB / 0.5176 GB, free: 25.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01732/0.5048, allocations: 7.364 MB / 0.5248 GB, free: 19.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.5048, allocations: 63.62 kB / 0.5249 GB, free: 18.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 6.352e-06/0.5048, allocations: 0 / 0.5249 GB, free: 18.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.2334/0.7383, allocations: 53.98 MB / 0.5776 GB, free: 13.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01649/0.7547, allocations: 6.268 MB / 0.5837 GB, free: 6.918 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/0.7657, allocations: 4.453 MB / 0.5881 GB, free: 2.453 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001429/0.7671, allocations: 89.7 kB / 0.5882 GB, free: 2.359 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00407/0.7712, allocations: 3.331 MB / 0.5914 GB, free: 15.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003663/0.7748, allocations: 1.638 MB / 0.593 GB, free: 13.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005687/0.7805, allocations: 1.554 MB / 0.5945 GB, free: 11.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.7807, allocations: 484.7 kB / 0.595 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004706/0.7855, allocations: 1.71 MB / 0.5967 GB, free: 9.684 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008346/0.7938, allocations: 5.023 MB / 0.6016 GB, free: 3.398 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2286/1.022, allocations: 8.523 MB / 0.6099 GB, free: 136 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.545e-05/1.022, allocations: 20.06 kB / 0.6099 GB, free: 136 MB / 474.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.03589/1.058, allocations: 11.88 MB / 0.6215 GB, free: 135.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.497e-05/1.058, allocations: 31.69 kB / 0.6215 GB, free: 135.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.038e-05/1.058, allocations: 65.44 kB / 0.6216 GB, free: 135.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03117/1.09, allocations: 7.339 MB / 0.6288 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005346/1.095, allocations: 1.126 MB / 0.6299 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05092/1.146, allocations: 22.69 MB / 0.652 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007504/1.153, allocations: 0.6485 MB / 0.6527 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/1.155, allocations: 294 kB / 0.6529 GB, free: 126.2 MB / 474.7 MB 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.003899/1.159, allocations: 0.6425 MB / 0.6536 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/1.161, allocations: 0.5665 MB / 0.6541 GB, free: 125.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03221/1.193, allocations: 10.59 MB / 0.6645 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02845/1.221, allocations: 9.149 MB / 0.6734 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.84e-05/1.221, allocations: 31.94 kB / 0.6734 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.292e-05/1.221, allocations: 22.77 kB / 0.6735 GB, free: 110 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05871/1.28, allocations: 23.78 MB / 0.6967 GB, free: 86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/1.28, allocations: 4 kB / 0.6967 GB, free: 86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/1.283, allocations: 459.7 kB / 0.6971 GB, free: 85.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02832/1.311, allocations: 7.243 MB / 0.7042 GB, free: 78.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001224/1.312, allocations: 71.98 kB / 0.7043 GB, free: 78.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04453/1.357, allocations: 21.5 MB / 0.7253 GB, free: 56.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01045/1.367, allocations: 5.38 MB / 0.7305 GB, free: 50.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0348/1.402, allocations: 12.01 MB / 0.7422 GB, free: 38.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.404, allocations: 0.5056 MB / 0.7427 GB, free: 38.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001898/1.406, allocations: 79.92 kB / 0.7428 GB, free: 38.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005143/1.411, allocations: 0.5187 MB / 0.7433 GB, free: 37.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001593/1.413, allocations: 339.9 kB / 0.7436 GB, free: 37.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003941/1.413, allocations: 103.9 kB / 0.7437 GB, free: 37.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003177/1.416, allocations: 2.135 MB / 0.7458 GB, free: 35.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/1.416, allocations: 0 / 0.7458 GB, free: 35.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00834/1.424, allocations: 2.554 MB / 0.7483 GB, free: 32.48 MB / 474.7 MB 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.001021/1.425, allocations: 202.9 kB / 0.7485 GB, free: 32.28 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01596/1.441, allocations: 7.423 MB / 0.7558 GB, free: 24.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.441, allocations: 0 / 0.7558 GB, free: 24.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01157/1.453, allocations: 4.602 MB / 0.7603 GB, free: 20.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0061/1.459, allocations: 0.7398 MB / 0.761 GB, free: 19.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/1.483, allocations: 12.78 MB / 0.7735 GB, free: 6.496 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1726/1.655, allocations: 3.35 MB / 0.7767 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003902/1.659, allocations: 1.198 MB / 0.7779 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/1.661, allocations: 295.9 kB / 0.7782 GB, free: 127.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.553e-06/1.661, allocations: 5.078 kB / 0.7782 GB, free: 127.9 MB / 474.7 MB Notification: Performance of Templates: time 0.1587/1.82, allocations: 129 MB / 0.9041 GB, free: 37.61 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 9.627948639914393]