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.001362/0.001362, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001506/0.001506, allocations: 212.7 kB / 22.24 MB, free: 5.262 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.05431/0.05431, allocations: 9.238 MB / 321.7 MB, free: 9.844 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 67.89 kB / 448.2 MB, free: 14.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1118, allocations: 55.47 MB / 0.4918 GB, free: 6.516 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.01679/0.1286, allocations: 12.49 MB / 0.504 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009896/0.1385, allocations: 4.423 MB / 0.5083 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.1405, allocations: 87.62 kB / 0.5084 GB, free: 5.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003693/0.1442, allocations: 1.595 MB / 0.51 GB, free: 3.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006554/0.1507, allocations: 2.611 MB / 0.5125 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.1521, allocations: 0.5732 MB / 0.5131 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2065/0.3586, allocations: 5.186 MB / 0.5182 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/0.3612, allocations: 2.693 MB / 0.5208 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.3633, allocations: 1.792 MB / 0.5225 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/0.3669, allocations: 2.625 MB / 0.5251 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008648/0.3677, allocations: 381.7 kB / 0.5255 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.3699, allocations: 1.086 MB / 0.5265 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002196/0.3721, allocations: 2.314 MB / 0.5288 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002259/0.3744, allocations: 1.985 MB / 0.5307 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008558/0.3829, allocations: 8.771 MB / 0.5393 GB, free: 3.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.383, allocations: 1.75 kB / 0.5393 GB, free: 3.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.383, allocations: 4 kB / 0.5393 GB, free: 3.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002556/0.3832, allocations: 0 / 0.5393 GB, free: 3.766 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2075 * Number of variables: 2075 Notification: Performance of Generate backend data structure: time 0.01433/0.3975, allocations: 6.643 MB / 0.5458 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.3976, allocations: 9.906 kB / 0.5458 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.4097, allocations: 3.426 MB / 0.5491 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006472/0.4162, allocations: 2.725 MB / 0.5518 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.4164, allocations: 274.1 kB / 0.5521 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006707/0.417, allocations: 361.4 kB / 0.5524 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02201/0.439, allocations: 14.03 MB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/0.4392, allocations: 50.73 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005342/0.4397, allocations: 180.5 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005254/0.445, allocations: 3.138 MB / 0.5694 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02456/0.4695, allocations: 12.19 MB / 0.5813 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07106/0.5406, allocations: 48.17 MB / 0.6283 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.5514, allocations: 4.093 MB / 0.6323 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.5541, allocations: 1.7 MB / 0.634 GB, free: 8.547 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01409/0.5682, allocations: 6.241 MB / 0.6401 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.5683, allocations: 51.88 kB / 0.6401 GB, free: 2.277 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 5.24e-06/0.5683, allocations: 0 / 0.6401 GB, free: 2.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=272): time 0.03185/0.6002, allocations: 14.52 MB / 0.6543 GB, free: 3.766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.6003, allocations: 150.5 kB / 0.6545 GB, free: 3.586 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007141/0.6074, allocations: 4.866 MB / 0.6592 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.6077, allocations: 65.55 kB / 0.6593 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003391/0.6111, allocations: 4.284 MB / 0.6635 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001409/0.6125, allocations: 1.084 MB / 0.6645 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002608/0.6151, allocations: 1.659 MB / 0.6661 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.6152, allocations: 301.1 kB / 0.6664 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004522/0.6198, allocations: 2.542 MB / 0.6689 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008772/0.6285, allocations: 7.372 MB / 0.6761 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01423/0.6428, allocations: 10.76 MB / 0.6866 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/0.6429, allocations: 52 kB / 0.6867 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.01904/0.6619, allocations: 9.884 MB / 0.6963 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.6621, allocations: 76 kB / 0.6964 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002109/0.6623, allocations: 168 kB / 0.6965 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.6633, allocations: 461.5 kB / 0.697 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006107/0.6694, allocations: 1.852 MB / 0.6988 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/0.6758, allocations: 5.026 MB / 0.7037 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00552/0.6814, allocations: 415.6 kB / 0.7041 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/0.6824, allocations: 0.4917 MB / 0.7046 GB, free: 11.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 772 * 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 (1008): * Single equations (assignments): 998 * 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.005311/0.6877, allocations: 2.84 MB / 0.7073 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000828/0.6886, allocations: 425.1 kB / 0.7078 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005294/0.6939, allocations: 2.905 MB / 0.7106 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/0.6939, allocations: 32 kB / 0.7106 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.6939, allocations: 7.984 kB / 0.7106 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/0.6939, allocations: 7.969 kB / 0.7106 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.7098, allocations: 7.405 MB / 0.7179 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/0.7098, allocations: 16.44 kB / 0.7179 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/0.7116, allocations: 387.4 kB / 0.7183 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007016/0.7123, allocations: 241.4 kB / 0.7185 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/0.7124, allocations: 51.2 kB / 0.7185 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004961/0.7174, allocations: 4.095 MB / 0.7225 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.7174, allocations: 15.88 kB / 0.7225 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008752/0.7262, allocations: 5.606 MB / 0.728 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.7274, allocations: 377.2 kB / 0.7284 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005243/0.7279, allocations: 44 kB / 0.7284 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.7294, allocations: 113.8 kB / 0.7285 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/0.7298, allocations: 165.5 kB / 0.7287 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/0.7299, allocations: 77.95 kB / 0.7288 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2077/0.9377, allocations: 2.795 MB / 0.7315 GB, free: 186 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9377, allocations: 0 / 0.7315 GB, free: 186 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006371/0.944, allocations: 1.227 MB / 0.7327 GB, free: 186 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (207): * Single equations (assignments): 199 * 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.0003821/0.9444, allocations: 182.4 kB / 0.7329 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009023/0.9534, allocations: 5.959 MB / 0.7387 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.9534, allocations: 0 / 0.7387 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/0.956, allocations: 1.698 MB / 0.7403 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/0.9592, allocations: 497.3 kB / 0.7408 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/0.9803, allocations: 12.38 MB / 0.7529 GB, free: 180 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004731/0.9851, allocations: 3.719 MB / 0.7565 GB, free: 179 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005614/0.9907, allocations: 2.628 MB / 0.7591 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007389/0.9914, allocations: 302.5 kB / 0.7594 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.9914, allocations: 0 / 0.7594 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.06723/1.059, allocations: 37.97 MB / 0.7965 GB, free: 151 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.049521828070283] Failed to read output from testmodel.py, exit status != 0: 1.0667114742100239 1.0755955130000001 0.6902994450000001 Calling exit ...