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.001239/0.001239, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001338/0.001338, allocations: 161 kB / 24.56 MB, free: 20 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 1.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.297 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.2947/0.2947, allocations: 34.26 MB / 295.7 MB, free: 0.7266 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 1.924e-06/1.924e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.389e-05, allocations: 2.312 kB / 378.1 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01334/0.01336, allocations: 16.23 MB / 394.3 MB, free: 2.363 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00983/0.02319, allocations: 5.416 MB / 399.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.02485, allocations: 159.1 kB / 399.9 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004905/0.02975, allocations: 4.992 MB / 404.8 MB, free: 7.762 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.03404, allocations: 2.609 MB / 407.5 MB, free: 5.141 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.0359, allocations: 1.493 MB / 408.9 MB, free: 3.645 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008855/0.04475, allocations: 10.05 MB / 419 MB, free: 9.574 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005086/0.04984, allocations: 5.463 MB / 424.5 MB, free: 4.051 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004254/0.05409, allocations: 3.961 MB / 428.4 MB, free: 84 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003411/0.0575, allocations: 3.808 MB / 432.2 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006295/0.05813, allocations: 0.5156 MB / 432.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.05972, allocations: 1.287 MB / 434 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002218/0.06194, allocations: 3.11 MB / 437.1 MB, free: 7.344 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.06356, allocations: 1.944 MB / 439.1 MB, free: 5.395 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1712/0.2348, allocations: 6.119 MB / 445.2 MB, free: 69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.2348, allocations: 0 / 445.2 MB, free: 69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2348, allocations: 2.969 kB / 445.2 MB, free: 69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003943/0.2352, allocations: 0.9688 kB / 445.2 MB, free: 69 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.01283/0.248, allocations: 7.77 MB / 453 MB, free: 66.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2481, allocations: 7.656 kB / 453 MB, free: 66.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006759/0.2548, allocations: 2.46 MB / 455.4 MB, free: 65.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008506/0.2633, allocations: 4.833 MB / 460.3 MB, free: 65.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.2636, allocations: 349.5 kB / 460.6 MB, free: 65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/0.265, allocations: 417.2 kB / 461 MB, free: 64.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.2764, allocations: 6.903 MB / 467.9 MB, free: 62.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001849/0.2766, allocations: 64.61 kB / 468 MB, free: 62.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000347/0.277, allocations: 177.1 kB / 468.2 MB, free: 62.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001853/0.2788, allocations: 1.73 MB / 469.9 MB, free: 62.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.2902, allocations: 4.18 MB / 474.1 MB, free: 62.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04575/0.3359, allocations: 41.91 MB / 0.5039 GB, free: 31.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.3472, allocations: 4.943 MB / 0.5087 GB, free: 30.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/0.3495, allocations: 1.571 MB / 0.5103 GB, free: 30.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009415/0.3589, allocations: 7.297 MB / 0.5174 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.359, allocations: 62.75 kB / 0.5174 GB, free: 26.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=283): time 6.252e-06/0.359, allocations: 0 / 0.5174 GB, free: 26.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=406): time 0.1336/0.4926, allocations: 53.48 MB / 0.5697 GB, free: 7.344 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007479/0.5, allocations: 6.056 MB / 0.5756 GB, free: 1.148 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004614/0.5046, allocations: 3.61 MB / 0.5791 GB, free: 13.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001094/0.5057, allocations: 85.7 kB / 0.5792 GB, free: 13.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.5074, allocations: 3.099 MB / 0.5822 GB, free: 10.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00186/0.5093, allocations: 1.533 MB / 0.5837 GB, free: 8.852 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001863/0.5112, allocations: 1.293 MB / 0.585 GB, free: 7.547 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5113, allocations: 484.7 kB / 0.5854 GB, free: 7.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/0.5138, allocations: 1.621 MB / 0.587 GB, free: 5.445 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004159/0.5179, allocations: 4.732 MB / 0.5916 GB, free: 15.45 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008514/0.5265, allocations: 7.046 MB / 0.5985 GB, free: 7.426 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.635e-05/0.5265, allocations: 16 kB / 0.5985 GB, free: 7.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.2046/0.7311, allocations: 11.63 MB / 0.6099 GB, free: 136.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.7311, allocations: 34.53 kB / 0.6099 GB, free: 136.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.158e-05/0.7312, allocations: 67.31 kB / 0.61 GB, free: 136.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01926/0.7505, allocations: 7.267 MB / 0.6171 GB, free: 136.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/0.7545, allocations: 1.126 MB / 0.6182 GB, free: 136.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03104/0.7856, allocations: 21.64 MB / 0.6393 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004435/0.79, allocations: 0.6411 MB / 0.6399 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005761/0.7906, allocations: 295.3 kB / 0.6402 GB, free: 129.4 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.001883/0.7925, allocations: 0.578 MB / 0.6408 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009673/0.7934, allocations: 0.5676 MB / 0.6413 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0174/0.8108, allocations: 10.43 MB / 0.6515 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01472/0.8255, allocations: 8.982 MB / 0.6603 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.327e-05/0.8256, allocations: 27.12 kB / 0.6603 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/0.8256, allocations: 23.3 kB / 0.6603 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02953/0.8551, allocations: 22.34 MB / 0.6822 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.8552, allocations: 4 kB / 0.6822 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.8564, allocations: 459.2 kB / 0.6826 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01402/0.8704, allocations: 7.163 MB / 0.6896 GB, free: 96.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003779/0.8707, allocations: 79.98 kB / 0.6897 GB, free: 96.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02507/0.8958, allocations: 20.54 MB / 0.7097 GB, free: 75.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00543/0.9012, allocations: 5.207 MB / 0.7148 GB, free: 70.44 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/0.9204, allocations: 11.65 MB / 0.7262 GB, free: 58.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/0.9219, allocations: 0.5139 MB / 0.7267 GB, free: 58.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000698/0.9226, allocations: 68 kB / 0.7268 GB, free: 58.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/0.9248, allocations: 0.5245 MB / 0.7273 GB, free: 57.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/0.926, allocations: 339.8 kB / 0.7276 GB, free: 57.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/0.9262, allocations: 104 kB / 0.7277 GB, free: 57.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002299/0.9285, allocations: 1.811 MB / 0.7295 GB, free: 55.28 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.9285, allocations: 0 / 0.7295 GB, free: 55.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006401/0.9349, allocations: 2.547 MB / 0.7319 GB, free: 52.73 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.000563/0.9354, allocations: 213.7 kB / 0.7322 GB, free: 52.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009507/0.945, allocations: 6.998 MB / 0.739 GB, free: 45.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.945, allocations: 0 / 0.739 GB, free: 45.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00536/0.9503, allocations: 4.398 MB / 0.7433 GB, free: 40.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/0.953, allocations: 0.7379 MB / 0.744 GB, free: 40.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/0.9689, allocations: 12.63 MB / 0.7563 GB, free: 27.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/0.9705, allocations: 1.756 MB / 0.7581 GB, free: 25.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002257/0.9728, allocations: 1.198 MB / 0.7592 GB, free: 24.53 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.9738, allocations: 296.4 kB / 0.7595 GB, free: 24.24 MB / 474.7 MB Notification: Performance of SimCode: time 2.384e-06/0.9738, allocations: 2.078 kB / 0.7595 GB, free: 24.24 MB / 474.7 MB Notification: Performance of Templates: time 0.267/1.241, allocations: 129.1 MB / 0.8856 GB, free: 61.35 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.299008532892913]