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.001235/0.001235, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001065/0.001065, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 0.9914/0.9914, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.2636/0.2636, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.523e-06/1.523e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.692e-05, allocations: 3.891 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01403/0.01406, allocations: 15.88 MB / 339.2 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009757/0.02382, allocations: 5.602 MB / 344.8 MB, free: 4.078 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002364/0.02618, allocations: 163.1 kB / 344.9 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00487/0.03105, allocations: 4.91 MB / 349.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003687/0.03474, allocations: 2.605 MB / 352.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.03651, allocations: 1.505 MB / 353.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0075/0.04401, allocations: 9.972 MB / 363.9 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005189/0.0492, allocations: 5.134 MB / 369 MB, free: 11.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006243/0.05544, allocations: 5.697 MB / 374.7 MB, free: 5.953 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004398/0.05984, allocations: 3.597 MB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007913/0.06063, allocations: 0.5156 MB / 378.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.06252, allocations: 1.33 MB / 380.2 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00223/0.06475, allocations: 3.113 MB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.06705, allocations: 1.948 MB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005683/0.07273, allocations: 6.132 MB / 391.4 MB, free: 5.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.07274, allocations: 4 kB / 391.4 MB, free: 5.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.07274, allocations: 0 / 391.4 MB, free: 5.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.76e-05/0.07283, allocations: 0 / 391.4 MB, free: 5.27 MB / 362.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.01016/0.083, allocations: 6.544 MB / 397.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.08303, allocations: 11.98 kB / 397.9 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/0.08647, allocations: 1.105 MB / 399 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/0.09127, allocations: 3.746 MB / 402.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.09146, allocations: 347.6 kB / 403.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004215/0.09188, allocations: 416.1 kB / 403.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00679/0.09867, allocations: 5.508 MB / 409 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.09878, allocations: 59.52 kB / 409.1 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.09906, allocations: 187.8 kB / 409.3 MB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001093/0.1001, allocations: 1.499 MB / 410.8 MB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0076/0.1077, allocations: 2.815 MB / 413.6 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1823/0.2901, allocations: 31.12 MB / 444.7 MB, free: 93.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008297/0.2983, allocations: 3.397 MB / 448.1 MB, free: 93.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.2996, allocations: 0.8211 MB / 448.9 MB, free: 93.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00819/0.3078, allocations: 5.81 MB / 454.7 MB, free: 93.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.3079, allocations: 58.88 kB / 454.8 MB, free: 93.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 4.168e-06/0.3079, allocations: 3.5 kB / 454.8 MB, free: 93.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=307): time 0.09275/0.4006, allocations: 37.64 MB / 492.4 MB, free: 62.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007003/0.4076, allocations: 4.471 MB / 496.9 MB, free: 58.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003514/0.4111, allocations: 3.409 MB / 0.4886 GB, free: 55.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006851/0.4118, allocations: 69.7 kB / 0.4887 GB, free: 55.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009987/0.4128, allocations: 2.63 MB / 0.4912 GB, free: 52.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.4139, allocations: 1.135 MB / 0.4923 GB, free: 51.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/0.4154, allocations: 1.065 MB / 0.4934 GB, free: 50.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.175e-05/0.4154, allocations: 309.1 kB / 0.4937 GB, free: 50.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/0.4179, allocations: 1.261 MB / 0.4949 GB, free: 49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003011/0.4209, allocations: 3.587 MB / 0.4984 GB, free: 44.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00627/0.4271, allocations: 5.601 MB / 0.5039 GB, free: 37.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-05/0.4272, allocations: 24 kB / 0.5039 GB, free: 37.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.01852/0.4457, allocations: 7.368 MB / 0.5111 GB, free: 30.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.4457, allocations: 40 kB / 0.5111 GB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.645e-05/0.4458, allocations: 79.94 kB / 0.5112 GB, free: 30.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01487/0.4607, allocations: 4.145 MB / 0.5153 GB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/0.4637, allocations: 1.123 MB / 0.5164 GB, free: 25.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/0.483, allocations: 13.44 MB / 0.5295 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/0.4865, allocations: 195.9 kB / 0.5297 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004959/0.487, allocations: 243.9 kB / 0.5299 GB, free: 10.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 348 * 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 (598): * Single equations (assignments): 589 * 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 {(5,86,92.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001573/0.4886, allocations: 0.5181 MB / 0.5304 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008567/0.4895, allocations: 339.7 kB / 0.5307 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/0.5015, allocations: 5.968 MB / 0.5366 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01138/0.5129, allocations: 4.739 MB / 0.5412 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-05/0.5129, allocations: 24 kB / 0.5412 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.726e-05/0.513, allocations: 15.94 kB / 0.5412 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02496/0.5379, allocations: 14.05 MB / 0.5549 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/0.538, allocations: 8.938 kB / 0.555 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.539, allocations: 337.5 kB / 0.5553 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01341/0.5524, allocations: 4.63 MB / 0.5598 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006424/0.5531, allocations: 60 kB / 0.5599 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/0.5735, allocations: 13.56 MB / 0.5731 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005226/0.5787, allocations: 3.51 MB / 0.5765 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/0.5933, allocations: 6.449 MB / 0.5828 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.5946, allocations: 453 kB / 0.5833 GB, free: 3.266 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006535/0.5953, allocations: 63.94 kB / 0.5833 GB, free: 3.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.5969, allocations: 64.05 kB / 0.5834 GB, free: 3.141 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/0.5979, allocations: 282.5 kB / 0.5837 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/0.5981, allocations: 63.98 kB / 0.5837 GB, free: 2.797 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001702/0.5998, allocations: 1.45 MB / 0.5851 GB, free: 1.336 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5998, allocations: 0 / 0.5851 GB, free: 1.336 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005972/0.6058, allocations: 2.214 MB / 0.5873 GB, free: 15.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (172): * Single equations (assignments): 169 * 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 {(5,83,92.0%), (4,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005848/0.6064, allocations: 176 kB / 0.5875 GB, free: 14.94 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007961/0.6143, allocations: 4.432 MB / 0.5918 GB, free: 10.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000288/0.6146, allocations: 72.56 kB / 0.5919 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004081/0.6187, allocations: 2.301 MB / 0.5941 GB, free: 8.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/0.623, allocations: 0.9388 MB / 0.595 GB, free: 7.102 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.6383, allocations: 11.03 MB / 0.6058 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/0.6402, allocations: 1.663 MB / 0.6074 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0019/0.6421, allocations: 0.5275 MB / 0.6079 GB, free: 9.645 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/0.6437, allocations: 0.6983 MB / 0.6086 GB, free: 8.938 MB / 490.7 MB Notification: Performance of SimCode: time 2.114e-06/0.6437, allocations: 0 / 0.6086 GB, free: 8.938 MB / 490.7 MB Notification: Performance of Templates: time 0.26/0.9036, allocations: 116.6 MB / 0.7225 GB, free: 86.72 MB / 490.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 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.393860878888518]