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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9976/0.9976, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2642/0.2642, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.868e-05, allocations: 5.828 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01281/0.01283, allocations: 16.23 MB / 392.3 MB, free: 4.348 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009301/0.02214, allocations: 5.404 MB / 397.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.02431, allocations: 167.1 kB / 397.8 MB, free: 14.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005237/0.02954, allocations: 4.996 MB / 402.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004726/0.03427, allocations: 2.609 MB / 405.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.0364, allocations: 1.49 MB / 406.9 MB, free: 5.637 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009096/0.04549, allocations: 10.04 MB / 417 MB, free: 11.57 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004612/0.0501, allocations: 5.471 MB / 422.4 MB, free: 6.035 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005348/0.05545, allocations: 3.953 MB / 426.4 MB, free: 2.074 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003815/0.05927, allocations: 3.804 MB / 430.2 MB, free: 14.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008296/0.0601, allocations: 0.5156 MB / 430.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.06182, allocations: 1.291 MB / 432 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002164/0.06398, allocations: 3.113 MB / 435.1 MB, free: 9.332 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002336/0.06632, allocations: 1.944 MB / 437.1 MB, free: 7.383 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005648/0.07197, allocations: 6.125 MB / 443.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.07197, allocations: 0 / 443.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.07197, allocations: 0 / 443.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.284e-05/0.07206, allocations: 0 / 443.2 MB, free: 1.238 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.1843/0.2563, allocations: 7.756 MB / 450.9 MB, free: 98.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2564, allocations: 15.36 kB / 451 MB, free: 98.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008418/0.2648, allocations: 2.462 MB / 453.4 MB, free: 97.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0095/0.2743, allocations: 4.844 MB / 458.3 MB, free: 96.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.2747, allocations: 354.5 kB / 458.6 MB, free: 96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/0.2762, allocations: 415.1 kB / 459 MB, free: 95.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.2949, allocations: 6.9 MB / 465.9 MB, free: 92.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000315/0.2952, allocations: 61.92 kB / 466 MB, free: 92.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008177/0.296, allocations: 182.5 kB / 466.2 MB, free: 92.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002514/0.2985, allocations: 1.718 MB / 467.9 MB, free: 92.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01565/0.3142, allocations: 4.196 MB / 472.1 MB, free: 91.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04846/0.3626, allocations: 41.9 MB / 0.5019 GB, free: 59.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.3742, allocations: 4.946 MB / 0.5068 GB, free: 55.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/0.3768, allocations: 1.572 MB / 0.5083 GB, free: 54.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.387, allocations: 7.299 MB / 0.5154 GB, free: 46.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.3871, allocations: 63.62 kB / 0.5155 GB, free: 46.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 6.783e-06/0.3871, allocations: 3.938 kB / 0.5155 GB, free: 46.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.1117/0.4988, allocations: 53.45 MB / 0.5677 GB, free: 9.383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008004/0.5068, allocations: 6.075 MB / 0.5736 GB, free: 3.141 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005693/0.5125, allocations: 3.592 MB / 0.5771 GB, free: 15.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001233/0.5137, allocations: 89.7 kB / 0.5772 GB, free: 15.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00203/0.5157, allocations: 3.108 MB / 0.5802 GB, free: 12.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002538/0.5183, allocations: 1.532 MB / 0.5817 GB, free: 10.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002388/0.5207, allocations: 1.293 MB / 0.583 GB, free: 9.512 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004183/0.5211, allocations: 480.7 kB / 0.5835 GB, free: 9.039 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/0.524, allocations: 1.628 MB / 0.585 GB, free: 7.406 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004688/0.5287, allocations: 4.73 MB / 0.5897 GB, free: 1.391 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009182/0.5378, allocations: 7.042 MB / 0.5965 GB, free: 9.117 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.537e-05/0.5379, allocations: 20 kB / 0.5966 GB, free: 9.098 MB / 458.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.1995/0.7374, allocations: 11.63 MB / 0.6079 GB, free: 121.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.811e-05/0.7375, allocations: 33.47 kB / 0.608 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.067e-05/0.7376, allocations: 66.06 kB / 0.608 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/0.7546, allocations: 7.257 MB / 0.6151 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/0.7576, allocations: 1.127 MB / 0.6162 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0306/0.7882, allocations: 21.64 MB / 0.6373 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/0.7933, allocations: 0.6388 MB / 0.638 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009055/0.7942, allocations: 298.2 kB / 0.6383 GB, free: 114.5 MB / 458.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.00192/0.7962, allocations: 0.5674 MB / 0.6388 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/0.7975, allocations: 0.572 MB / 0.6394 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/0.8155, allocations: 10.43 MB / 0.6495 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01671/0.8322, allocations: 8.976 MB / 0.6583 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.818e-05/0.8322, allocations: 29.16 kB / 0.6583 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.298e-05/0.8323, allocations: 19.92 kB / 0.6584 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03402/0.8663, allocations: 22.35 MB / 0.6802 GB, free: 90.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-05/0.8663, allocations: 7.938 kB / 0.6802 GB, free: 90.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.8679, allocations: 454.4 kB / 0.6806 GB, free: 89.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0152/0.8831, allocations: 7.17 MB / 0.6876 GB, free: 82.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009178/0.884, allocations: 79.92 kB / 0.6877 GB, free: 82.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02778/0.9118, allocations: 20.53 MB / 0.7078 GB, free: 62.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005985/0.9178, allocations: 5.213 MB / 0.7128 GB, free: 56.74 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02067/0.9384, allocations: 11.65 MB / 0.7242 GB, free: 44.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.9399, allocations: 0.5008 MB / 0.7247 GB, free: 44.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009865/0.9409, allocations: 71.98 kB / 0.7248 GB, free: 44.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/0.9435, allocations: 0.5225 MB / 0.7253 GB, free: 43.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001189/0.9447, allocations: 339.9 kB / 0.7256 GB, free: 43.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/0.9449, allocations: 99.98 kB / 0.7257 GB, free: 43.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002373/0.9473, allocations: 1.819 MB / 0.7275 GB, free: 41.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9473, allocations: 0 / 0.7275 GB, free: 41.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006498/0.9538, allocations: 2.547 MB / 0.73 GB, free: 39.04 MB / 458.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.00081/0.9546, allocations: 206.9 kB / 0.7302 GB, free: 38.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01102/0.9656, allocations: 6.998 MB / 0.737 GB, free: 31.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.9656, allocations: 0 / 0.737 GB, free: 31.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006266/0.9719, allocations: 4.405 MB / 0.7413 GB, free: 27.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/0.9757, allocations: 0.7411 MB / 0.742 GB, free: 26.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/0.9934, allocations: 12.63 MB / 0.7544 GB, free: 13.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00234/0.9958, allocations: 1.752 MB / 0.7561 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002905/0.9987, allocations: 1.196 MB / 0.7572 GB, free: 10.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1, allocations: 300.4 kB / 0.7575 GB, free: 10.54 MB / 458.7 MB Notification: Performance of SimCode: time 2.855e-06/1, allocations: 0 / 0.7575 GB, free: 10.54 MB / 458.7 MB Notification: Performance of Templates: time 0.2973/1.297, allocations: 129.1 MB / 0.8836 GB, free: 62.75 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.162195960991085]