Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.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.001376/0.001376, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001151/0.001151, allocations: 181 kB / 23.36 MB, free: 1.129 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.0297/0.0297, allocations: 7.188 MB / 267.4 MB, free: 5.953 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/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(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 286.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.463e-05, allocations: 6.312 kB / 286.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.1145/0.1145, allocations: 13.63 MB / 299.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007923/0.1224, allocations: 4.723 MB / 304.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.1237, allocations: 87.53 kB / 304.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.1256, allocations: 1.691 MB / 306.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.1291, allocations: 2.678 MB / 308.9 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/0.1299, allocations: 0.6213 MB / 309.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003793/0.1337, allocations: 5.624 MB / 315.1 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.1359, allocations: 3.048 MB / 318.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.1385, allocations: 2.72 MB / 320.9 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.1406, allocations: 2.536 MB / 323.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004222/0.141, allocations: 384 kB / 323.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.1425, allocations: 1.198 MB / 325 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.1438, allocations: 2.403 MB / 327.4 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.1448, allocations: 1.503 MB / 328.9 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004508/0.1493, allocations: 5.735 MB / 334.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1493, allocations: 0 / 334.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1494, allocations: 0 / 334.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.1e-05/0.1494, allocations: 0 / 334.7 MB, free: 15.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2081 * Number of variables: 2081 Notification: Performance of Generate backend data structure: time 0.006208/0.1556, allocations: 5.896 MB / 340.6 MB, free: 9.207 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1557, allocations: 8.625 kB / 340.6 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004717/0.1604, allocations: 1.807 MB / 342.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.1626, allocations: 2.117 MB / 344.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.1627, allocations: 271.3 kB / 344.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004255/0.1632, allocations: 363.6 kB / 345.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006392/0.1696, allocations: 6.461 MB / 351.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.131e-05/0.1696, allocations: 51.52 kB / 351.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005766/0.1702, allocations: 183.8 kB / 351.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002333/0.1726, allocations: 2.789 MB / 354.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005211/0.1778, allocations: 3.483 MB / 358.1 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02938/0.2071, allocations: 40.08 MB / 398.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004491/0.2116, allocations: 2.832 MB / 401 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.2122, allocations: 460.6 kB / 401.4 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006143/0.2184, allocations: 4.469 MB / 405.9 MB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.2184, allocations: 51.88 kB / 406 MB, free: 5.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=240): time 3.446e-06/0.2184, allocations: 0 / 406 MB, free: 5.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=268): time 0.01286/0.2313, allocations: 6.38 MB / 412.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.2313, allocations: 158.4 kB / 412.5 MB, free: 14.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/0.2342, allocations: 3.927 MB / 416.4 MB, free: 10.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-05/0.2343, allocations: 65.69 kB / 416.5 MB, free: 10.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.2361, allocations: 4.084 MB / 420.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000513/0.2366, allocations: 1.054 MB / 421.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/0.2379, allocations: 1.561 MB / 423.2 MB, free: 4.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.2379, allocations: 309.1 kB / 423.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.2397, allocations: 0.9925 MB / 424.5 MB, free: 2.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.2432, allocations: 5.671 MB / 430.1 MB, free: 10.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005099/0.2483, allocations: 7.431 MB / 437.6 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.805e-05/0.2484, allocations: 52 kB / 437.6 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.1216/0.37, allocations: 5.514 MB / 443.1 MB, free: 115.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.3701, allocations: 79.64 kB / 443.2 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002161/0.3703, allocations: 170.8 kB / 443.4 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008788/0.3712, allocations: 424.9 kB / 443.8 MB, free: 115.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/0.3748, allocations: 1.894 MB / 445.7 MB, free: 114.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.3773, allocations: 3.735 MB / 449.4 MB, free: 112.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/0.3803, allocations: 348.7 kB / 449.8 MB, free: 112.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004514/0.3807, allocations: 430.4 kB / 450.2 MB, free: 112.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 781 * Number of states: 0 () * Number of discrete variables: 36 (fixedRotation3D.color[3],fixedRotation3D.color[2],fixedRotation3D.color[1],body3D.sphereColor[3],body3D.sphereColor[2],body3D.sphereColor[1],prismatic3D.boxColor[3],prismatic3D.boxColor[2],prismatic3D.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1019): * Single equations (assignments): 1009 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,17,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001424/0.3822, allocations: 0.7784 MB / 451 MB, free: 112 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003894/0.3826, allocations: 283.2 kB / 451.2 MB, free: 112 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.3839, allocations: 1.22 MB / 452.5 MB, free: 111.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.3839, allocations: 27.14 kB / 452.5 MB, free: 111.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3839, allocations: 8.047 kB / 452.5 MB, free: 111.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.3839, allocations: 16.73 kB / 452.5 MB, free: 111.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005445/0.3894, allocations: 5.096 MB / 457.6 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.3894, allocations: 7.25 kB / 457.6 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/0.3902, allocations: 351 kB / 458 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005782/0.3907, allocations: 406.3 kB / 458.4 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.3909, allocations: 50.98 kB / 458.4 MB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.3923, allocations: 2.967 MB / 461.4 MB, free: 108.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3923, allocations: 11.78 kB / 461.4 MB, free: 108.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.3943, allocations: 2.29 MB / 463.7 MB, free: 107.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.3946, allocations: 381.5 kB / 464 MB, free: 107.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.3949, allocations: 40.81 kB / 464.1 MB, free: 107.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/0.3956, allocations: 56.19 kB / 464.1 MB, free: 107.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.3958, allocations: 160.8 kB / 464.3 MB, free: 107.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.879e-05/0.3959, allocations: 55.7 kB / 464.4 MB, free: 107.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001149/0.397, allocations: 1.427 MB / 465.8 MB, free: 107.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.397, allocations: 0 / 465.8 MB, free: 107.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003665/0.4007, allocations: 1.286 MB / 467.1 MB, free: 106.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel,prismatic3D.s,prismatic3D.v) * 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 (203): * Single equations (assignments): 195 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,15,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003311/0.401, allocations: 189.3 kB / 467.3 MB, free: 106.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003541/0.4046, allocations: 3.461 MB / 470.7 MB, free: 103.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001699/0.4047, allocations: 108.2 kB / 470.8 MB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007794/0.4055, allocations: 0.8973 MB / 471.7 MB, free: 102.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.407, allocations: 0.5197 MB / 472.2 MB, free: 101.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.4178, allocations: 10.21 MB / 482.4 MB, free: 92.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.4191, allocations: 1.654 MB / 484.1 MB, free: 90.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001657/0.4207, allocations: 0.6559 MB / 484.8 MB, free: 90.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.4219, allocations: 0.6958 MB / 485.5 MB, free: 89.33 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4219, allocations: 0 / 485.5 MB, free: 89.33 MB / 394.7 MB Notification: Performance of Templates: time 0.06196/0.4838, allocations: 37.01 MB / 0.5102 GB, free: 53 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.064792393241078]