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.001671/0.001671, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001969/0.001969, allocations: 162.4 kB / 23.01 MB, free: 4.949 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.468/1.468, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.04596/0.04596, allocations: 7.127 MB / 266.9 MB, free: 9.711 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.002199/0.002199, allocations: 67.89 kB / 393.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1223, allocations: 55.46 MB / 448.8 MB, free: 2.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.0163/0.1386, allocations: 12.49 MB / 461.3 MB, free: 6.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1504, allocations: 4.419 MB / 465.8 MB, free: 1.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.1536, allocations: 87.62 kB / 465.8 MB, free: 1.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004418/0.158, allocations: 1.587 MB / 467.4 MB, free: 248 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008247/0.1662, allocations: 2.615 MB / 470 MB, free: 13.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.1683, allocations: 0.5654 MB / 470.6 MB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009218/0.1775, allocations: 5.202 MB / 475.8 MB, free: 7.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00465/0.1822, allocations: 2.701 MB / 478.5 MB, free: 5.086 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/0.186, allocations: 1.798 MB / 480.3 MB, free: 3.281 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004922/0.1909, allocations: 2.627 MB / 482.9 MB, free: 0.6445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001345/0.1922, allocations: 380 kB / 483.3 MB, free: 280 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2435/0.4357, allocations: 1.081 MB / 484.4 MB, free: 47.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002298/0.438, allocations: 2.315 MB / 486.7 MB, free: 47.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.4404, allocations: 1.988 MB / 488.7 MB, free: 47.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007905/0.4483, allocations: 8.765 MB / 497.5 MB, free: 45.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4483, allocations: 0 / 497.5 MB, free: 45.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4483, allocations: 0 / 497.5 MB, free: 45.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003068/0.4486, allocations: 0 / 497.5 MB, free: 45.62 MB / 446.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.01602/0.4646, allocations: 6.681 MB / 0.4923 GB, free: 43.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4647, allocations: 7.094 kB / 0.4923 GB, free: 43.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/0.4772, allocations: 3.587 MB / 0.4958 GB, free: 42.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006453/0.4837, allocations: 2.701 MB / 0.4985 GB, free: 41.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.4839, allocations: 284.2 kB / 0.4987 GB, free: 41.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/0.4851, allocations: 354.9 kB / 0.4991 GB, free: 41.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02385/0.5089, allocations: 14.02 MB / 0.5128 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/0.5091, allocations: 59.86 kB / 0.5128 GB, free: 35.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006183/0.5097, allocations: 178.4 kB / 0.513 GB, free: 35.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005216/0.515, allocations: 3.138 MB / 0.5161 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02638/0.5413, allocations: 12.17 MB / 0.528 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06275/0.6041, allocations: 48.33 MB / 0.5752 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01264/0.6167, allocations: 4.24 MB / 0.5793 GB, free: 3.625 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003251/0.62, allocations: 1.691 MB / 0.5809 GB, free: 1.926 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01424/0.6342, allocations: 6.357 MB / 0.5872 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.6343, allocations: 55.06 kB / 0.5872 GB, free: 11.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 5.61e-06/0.6343, allocations: 0 / 0.5872 GB, free: 11.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=272): time 0.03572/0.67, allocations: 14.84 MB / 0.6017 GB, free: 12.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.6701, allocations: 154.5 kB / 0.6018 GB, free: 12.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009411/0.6795, allocations: 4.841 MB / 0.6066 GB, free: 7.699 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005283/0.6801, allocations: 61.7 kB / 0.6066 GB, free: 7.633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003952/0.684, allocations: 4.289 MB / 0.6108 GB, free: 3.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001847/0.6859, allocations: 1.076 MB / 0.6119 GB, free: 2.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004605/0.6905, allocations: 1.664 MB / 0.6135 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6906, allocations: 305.1 kB / 0.6138 GB, free: 344 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005518/0.6961, allocations: 2.554 MB / 0.6163 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/0.7069, allocations: 7.375 MB / 0.6235 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01668/0.7236, allocations: 10.77 MB / 0.634 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002284/0.7238, allocations: 48 kB / 0.634 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.02327/0.7471, allocations: 9.906 MB / 0.6437 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003111/0.7474, allocations: 83.03 kB / 0.6438 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004084/0.7478, allocations: 168 kB / 0.644 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.7491, allocations: 468.5 kB / 0.6444 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006856/0.756, allocations: 1.856 MB / 0.6462 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007787/0.7638, allocations: 5.017 MB / 0.6511 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007889/0.7717, allocations: 447.5 kB / 0.6515 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/0.7735, allocations: 494.8 kB / 0.652 GB, free: 4.871 MB / 0.5294 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.007656/0.7812, allocations: 2.851 MB / 0.6548 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/0.7825, allocations: 421.1 kB / 0.6552 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006709/0.7892, allocations: 2.908 MB / 0.658 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.807e-05/0.7893, allocations: 28 kB / 0.6581 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.7893, allocations: 4 kB / 0.6581 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/0.7894, allocations: 15.95 kB / 0.6581 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/0.8095, allocations: 7.446 MB / 0.6654 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/0.8096, allocations: 8.125 kB / 0.6654 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/0.8115, allocations: 391.4 kB / 0.6657 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007399/0.8123, allocations: 237.4 kB / 0.666 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003053/0.8126, allocations: 54.56 kB / 0.666 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005159/0.8177, allocations: 4.084 MB / 0.67 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/0.8177, allocations: 12.81 kB / 0.67 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.8279, allocations: 5.604 MB / 0.6755 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/0.8293, allocations: 386 kB / 0.6759 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009954/0.8303, allocations: 48 kB / 0.6759 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/0.8324, allocations: 118.9 kB / 0.676 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/0.8329, allocations: 173.5 kB / 0.6762 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002324/0.8331, allocations: 72.19 kB / 0.6763 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006821/0.8399, allocations: 2.784 MB / 0.679 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8399, allocations: 0 / 0.679 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008103/0.848, allocations: 1.217 MB / 0.6802 GB, free: 7.562 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.0008559/0.8489, allocations: 199.2 kB / 0.6804 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01286/0.8617, allocations: 5.972 MB / 0.6862 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/0.8617, allocations: 4.125 kB / 0.6862 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2347/1.096, allocations: 1.694 MB / 0.6878 GB, free: 179 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003783/1.1, allocations: 0.4933 MB / 0.6883 GB, free: 179 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.121, allocations: 12.36 MB / 0.7004 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005051/1.126, allocations: 3.727 MB / 0.704 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005967/1.132, allocations: 2.621 MB / 0.7066 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.133, allocations: 308.2 kB / 0.7069 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.342e-06/1.133, allocations: 0 / 0.7069 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.0761/1.209, allocations: 32.18 MB / 0.7383 GB, free: 166.4 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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.234323055949062] Failed to read output from testmodel.py, exit status != 0: 1.2188887539086863 1.229679052 0.778638414 Calling exit ...