Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001065/0.001065, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001295/0.001295, allocations: 168.7 kB / 24.99 MB, free: 8.793 MB / 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 1.118/1.118, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2702/0.2702, allocations: 34.27 MB / 296 MB, free: 0.7852 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.534e-05, allocations: 6.25 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01382/0.01385, allocations: 16.17 MB / 394.2 MB, free: 2.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.02405, allocations: 5.4 MB / 399.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.02726, allocations: 167.1 kB / 399.8 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005913/0.03317, allocations: 4.977 MB / 404.7 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005631/0.0388, allocations: 2.605 MB / 407.4 MB, free: 5.547 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.04126, allocations: 1.497 MB / 408.8 MB, free: 4.047 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01062/0.05189, allocations: 10.04 MB / 418.9 MB, free: 9.984 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0068/0.05869, allocations: 5.463 MB / 424.4 MB, free: 4.457 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007421/0.06611, allocations: 3.961 MB / 428.3 MB, free: 500 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00526/0.07137, allocations: 3.804 MB / 432.1 MB, free: 12.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001459/0.07283, allocations: 0.5156 MB / 432.6 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.07529, allocations: 1.295 MB / 433.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00324/0.07852, allocations: 3.106 MB / 437 MB, free: 7.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003418/0.08194, allocations: 1.952 MB / 439 MB, free: 5.793 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1973/0.2793, allocations: 6.118 MB / 445.1 MB, free: 69.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.2793, allocations: 3.125 kB / 445.1 MB, free: 69.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2793, allocations: 0 / 445.1 MB, free: 69.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003959/0.2797, allocations: 2.5 kB / 445.1 MB, free: 69.79 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.01464/0.2943, allocations: 7.759 MB / 452.9 MB, free: 67.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.2944, allocations: 11.31 kB / 452.9 MB, free: 67.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007749/0.3021, allocations: 2.456 MB / 455.3 MB, free: 66.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009235/0.3113, allocations: 4.844 MB / 460.2 MB, free: 65.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/0.3116, allocations: 348.9 kB / 460.5 MB, free: 65.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/0.3128, allocations: 411.9 kB / 460.9 MB, free: 65.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.3249, allocations: 6.911 MB / 467.8 MB, free: 63.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00022/0.3251, allocations: 60.42 kB / 467.9 MB, free: 63.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005311/0.3257, allocations: 175.7 kB / 468.1 MB, free: 63.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001858/0.3275, allocations: 1.725 MB / 469.8 MB, free: 63.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.3391, allocations: 4.194 MB / 474 MB, free: 63.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/0.3819, allocations: 41.91 MB / 0.5038 GB, free: 31.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.3935, allocations: 4.94 MB / 0.5086 GB, free: 31.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002439/0.3959, allocations: 1.572 MB / 0.5102 GB, free: 30.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.4067, allocations: 7.296 MB / 0.5173 GB, free: 27.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/0.4067, allocations: 72.62 kB / 0.5174 GB, free: 27.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 4.729e-06/0.4068, allocations: 0 / 0.5174 GB, free: 27.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.125/0.5317, allocations: 53.46 MB / 0.5696 GB, free: 7.812 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008473/0.5402, allocations: 6.06 MB / 0.5755 GB, free: 1.613 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005001/0.5452, allocations: 3.6 MB / 0.579 GB, free: 14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001209/0.5464, allocations: 93.7 kB / 0.5791 GB, free: 13.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002097/0.5485, allocations: 3.101 MB / 0.5821 GB, free: 10.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002203/0.5507, allocations: 1.537 MB / 0.5836 GB, free: 9.312 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002121/0.5528, allocations: 1.296 MB / 0.5849 GB, free: 8.004 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5529, allocations: 480.7 kB / 0.5853 GB, free: 7.531 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/0.5557, allocations: 1.621 MB / 0.5869 GB, free: 5.906 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004704/0.5604, allocations: 4.733 MB / 0.5915 GB, free: 15.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008593/0.569, allocations: 7.044 MB / 0.5984 GB, free: 7.887 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.436e-05/0.5691, allocations: 20 kB / 0.5984 GB, free: 7.867 MB / 474.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.222/0.791, allocations: 11.63 MB / 0.6098 GB, free: 141.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.011e-05/0.7911, allocations: 32.28 kB / 0.6098 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.791e-05/0.7912, allocations: 67.09 kB / 0.6099 GB, free: 141.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0174/0.8086, allocations: 7.265 MB / 0.617 GB, free: 141.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.8115, allocations: 1.125 MB / 0.6181 GB, free: 141.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03392/0.8454, allocations: 21.64 MB / 0.6392 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005875/0.8513, allocations: 0.6392 MB / 0.6398 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/0.8526, allocations: 302.1 kB / 0.6401 GB, free: 134.3 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.00273/0.8553, allocations: 0.576 MB / 0.6407 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/0.8569, allocations: 0.5784 MB / 0.6413 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/0.8768, allocations: 10.42 MB / 0.6514 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02169/0.8985, allocations: 8.981 MB / 0.6602 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-05/0.8986, allocations: 30.91 kB / 0.6602 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.23e-05/0.8987, allocations: 27.8 kB / 0.6603 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04096/0.9396, allocations: 22.33 MB / 0.6821 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/0.9397, allocations: 4 kB / 0.6821 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/0.9413, allocations: 459.8 kB / 0.6825 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01679/0.9581, allocations: 7.167 MB / 0.6895 GB, free: 99.71 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009979/0.9591, allocations: 71.98 kB / 0.6896 GB, free: 99.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02737/0.9864, allocations: 20.53 MB / 0.7096 GB, free: 79.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005524/0.992, allocations: 5.221 MB / 0.7147 GB, free: 73.76 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/1.012, allocations: 11.65 MB / 0.7261 GB, free: 61.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/1.013, allocations: 0.5065 MB / 0.7266 GB, free: 61.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008972/1.014, allocations: 72 kB / 0.7267 GB, free: 61.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.016, allocations: 0.5186 MB / 0.7272 GB, free: 60.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/1.018, allocations: 346.3 kB / 0.7275 GB, free: 60.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002332/1.018, allocations: 96 kB / 0.7276 GB, free: 60.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002512/1.02, allocations: 1.815 MB / 0.7294 GB, free: 58.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.02, allocations: 4 kB / 0.7294 GB, free: 58.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007756/1.028, allocations: 2.551 MB / 0.7319 GB, free: 56.05 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.0008179/1.029, allocations: 204.2 kB / 0.732 GB, free: 55.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01005/1.039, allocations: 7.003 MB / 0.7389 GB, free: 48.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.039, allocations: 4 kB / 0.7389 GB, free: 48.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006249/1.045, allocations: 4.398 MB / 0.7432 GB, free: 44.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/1.049, allocations: 0.7452 MB / 0.7439 GB, free: 43.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/1.066, allocations: 12.61 MB / 0.7562 GB, free: 30.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001962/1.068, allocations: 1.76 MB / 0.7579 GB, free: 29.05 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003979/1.072, allocations: 1.196 MB / 0.7591 GB, free: 27.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/1.073, allocations: 300.4 kB / 0.7594 GB, free: 27.55 MB / 474.7 MB Notification: Performance of SimCode: time 2.435e-06/1.073, allocations: 4 kB / 0.7594 GB, free: 27.55 MB / 474.7 MB Notification: Performance of Templates: time 0.2918/1.365, allocations: 129.1 MB / 0.8855 GB, free: 67.88 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.325427635107189]