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.001178/0.001178, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001153/0.001153, allocations: 170 kB / 23.27 MB, free: 1.223 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.15/1.15, allocations: 177.2 MB / 203.7 MB, free: 5.492 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.04631/0.04631, allocations: 7.185 MB / 267.4 MB, free: 5.887 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 2.064e-06/2.064e-06, allocations: 0 / 339.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.475e-05, allocations: 13.97 kB / 339.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.02951/0.02955, allocations: 13.57 MB / 352.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01858/0.04813, allocations: 4.556 MB / 357.4 MB, free: 8.777 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004193/0.05232, allocations: 87.62 kB / 357.5 MB, free: 8.691 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004475/0.0568, allocations: 1.688 MB / 359.2 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008293/0.06509, allocations: 2.699 MB / 361.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.06676, allocations: 0.6276 MB / 362.5 MB, free: 3.656 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009723/0.07648, allocations: 5.639 MB / 368.2 MB, free: 14 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005993/0.08248, allocations: 3.056 MB / 371.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007002/0.08948, allocations: 2.755 MB / 374 MB, free: 8.133 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005238/0.09472, allocations: 2.665 MB / 376.7 MB, free: 5.461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.09633, allocations: 384 kB / 377 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.09933, allocations: 1.182 MB / 378.2 MB, free: 3.902 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002462/0.1018, allocations: 2.407 MB / 380.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002703/0.1045, allocations: 1.503 MB / 382.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009747/0.1142, allocations: 5.719 MB / 387.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.1143, allocations: 0 / 387.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1143, allocations: 3.938 kB / 387.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004266/0.1147, allocations: 0 / 387.8 MB, free: 10.23 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: 2081 * Number of variables: 2081 Notification: Performance of Generate backend data structure: time 0.01493/0.1296, allocations: 6.947 MB / 394.8 MB, free: 3.215 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.1297, allocations: 12.61 kB / 394.8 MB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006848/0.1365, allocations: 2.334 MB / 397.1 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006558/0.1431, allocations: 2.378 MB / 399.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002658/0.1433, allocations: 275.1 kB / 399.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.1448, allocations: 363.6 kB / 400.1 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.1601, allocations: 7.163 MB / 407.3 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.1603, allocations: 51.58 kB / 407.4 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005741/0.1608, allocations: 175.8 kB / 407.5 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002811/0.1636, allocations: 2.797 MB / 410.3 MB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.1748, allocations: 3.415 MB / 413.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3023/0.4771, allocations: 55.74 MB / 469.5 MB, free: 67.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006675/0.4838, allocations: 2.787 MB / 472.3 MB, free: 66.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.4852, allocations: 0.5583 MB / 472.8 MB, free: 66.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/0.4953, allocations: 4.76 MB / 477.6 MB, free: 65.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.346e-05/0.4954, allocations: 57.42 kB / 477.6 MB, free: 65.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=240): time 1.069e-05/0.4954, allocations: 0 / 477.6 MB, free: 65.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=268): time 0.01864/0.514, allocations: 6.721 MB / 484.4 MB, free: 64.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.5141, allocations: 157.2 kB / 484.5 MB, free: 64.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005484/0.5196, allocations: 4.383 MB / 488.9 MB, free: 63.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004798/0.5201, allocations: 64.2 kB / 489 MB, free: 63.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002804/0.5229, allocations: 4.517 MB / 493.5 MB, free: 61.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001501/0.5244, allocations: 1.109 MB / 494.6 MB, free: 60.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002233/0.5266, allocations: 1.829 MB / 496.4 MB, free: 60.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.5267, allocations: 476.8 kB / 496.9 MB, free: 59.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.5285, allocations: 0.7461 MB / 497.6 MB, free: 59.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005554/0.5341, allocations: 8.005 MB / 0.4938 GB, free: 50.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/0.5459, allocations: 9.602 MB / 0.5032 GB, free: 40.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004791/0.5464, allocations: 50.81 kB / 0.5032 GB, free: 40.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.01863/0.565, allocations: 6.473 MB / 0.5095 GB, free: 38.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.5652, allocations: 83.94 kB / 0.5096 GB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003254/0.5655, allocations: 173.9 kB / 0.5098 GB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.5665, allocations: 426.1 kB / 0.5102 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/0.5708, allocations: 1.809 MB / 0.5119 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.5741, allocations: 4.884 MB / 0.5167 GB, free: 34.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007206/0.5813, allocations: 347.2 kB / 0.517 GB, free: 34.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001558/0.5829, allocations: 443.4 kB / 0.5175 GB, free: 34.15 MB / 410.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.003346/0.5863, allocations: 0.8149 MB / 0.5183 GB, free: 33.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/0.5875, allocations: 492.7 kB / 0.5187 GB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.5897, allocations: 1.436 MB / 0.5201 GB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.489e-05/0.5897, allocations: 31.55 kB / 0.5202 GB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.5897, allocations: 6.875 kB / 0.5202 GB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.5897, allocations: 16.98 kB / 0.5202 GB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/0.602, allocations: 6.08 MB / 0.5261 GB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.602, allocations: 4 kB / 0.5261 GB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.603, allocations: 329.9 kB / 0.5264 GB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005991/0.6036, allocations: 196 kB / 0.5266 GB, free: 29.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.6037, allocations: 58.55 kB / 0.5267 GB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/0.6063, allocations: 4.077 MB / 0.5307 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.6063, allocations: 11.94 kB / 0.5307 GB, free: 25.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/0.6104, allocations: 2.736 MB / 0.5333 GB, free: 22.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.6117, allocations: 394 kB / 0.5337 GB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004287/0.6122, allocations: 50.89 kB / 0.5338 GB, free: 22.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008362/0.613, allocations: 40 kB / 0.5338 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.6133, allocations: 165.5 kB / 0.534 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-05/0.6134, allocations: 66.67 kB / 0.534 GB, free: 22.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002642/0.616, allocations: 1.72 MB / 0.5357 GB, free: 20.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.616, allocations: 0 / 0.5357 GB, free: 20.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009011/0.625, allocations: 1.285 MB / 0.537 GB, free: 19.69 MB / 410.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.0007082/0.6257, allocations: 203.6 kB / 0.5372 GB, free: 19.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008178/0.6339, allocations: 3.854 MB / 0.5409 GB, free: 16.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/0.6339, allocations: 0 / 0.5409 GB, free: 16.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.6355, allocations: 1.093 MB / 0.542 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.6387, allocations: 0.5282 MB / 0.5425 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/0.6598, allocations: 10.1 MB / 0.5524 GB, free: 5.316 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003135/0.6629, allocations: 1.677 MB / 0.554 GB, free: 4.109 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002771/0.6657, allocations: 0.6584 MB / 0.5547 GB, free: 3.617 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.6667, allocations: 0.7418 MB / 0.5554 GB, free: 2.93 MB / 410.7 MB Notification: Performance of SimCode: time 3.476e-06/0.6667, allocations: 0 / 0.5554 GB, free: 2.93 MB / 410.7 MB Notification: Performance of Templates: time 0.07819/0.7449, allocations: 37.14 MB / 0.5917 GB, free: 284 kB / 442.7 MB " [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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.32756867678836]