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.001492/0.001492, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.003016/0.003016, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 8.02 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.0494/0.0494, allocations: 9.229 MB / 321.7 MB, free: 10.06 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.002102/0.002102, allocations: 63.89 kB / 448.2 MB, free: 14.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1137, allocations: 55.47 MB / 0.4919 GB, free: 7.008 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.01742/0.1311, allocations: 14.46 MB / 0.506 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.1418, allocations: 4.668 MB / 0.5106 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003822/0.1456, allocations: 95.56 kB / 0.5107 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004297/0.1499, allocations: 1.634 MB / 0.5123 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2507/0.4006, allocations: 2.594 MB / 0.5148 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.4025, allocations: 0.5708 MB / 0.5153 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008369/0.4109, allocations: 5.205 MB / 0.5204 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004846/0.4158, allocations: 2.703 MB / 0.5231 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003652/0.4194, allocations: 1.803 MB / 0.5248 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005506/0.4249, allocations: 2.735 MB / 0.5275 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.4264, allocations: 381.2 kB / 0.5279 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00366/0.4301, allocations: 1.221 MB / 0.5291 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002933/0.433, allocations: 2.312 MB / 0.5313 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003404/0.4364, allocations: 2.789 MB / 0.534 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.4466, allocations: 8.732 MB / 0.5426 GB, free: 1.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4466, allocations: 1.438 kB / 0.5426 GB, free: 1.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4466, allocations: 0 / 0.5426 GB, free: 1.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003697/0.4469, allocations: 0 / 0.5426 GB, free: 1.188 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.02235/0.4693, allocations: 6.645 MB / 0.5491 GB, free: 12.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.4694, allocations: 9.625 kB / 0.5491 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.4842, allocations: 3.433 MB / 0.5524 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009008/0.4932, allocations: 2.689 MB / 0.555 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.4936, allocations: 276.7 kB / 0.5553 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00202/0.4956, allocations: 364.9 kB / 0.5557 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03008/0.5257, allocations: 14.03 MB / 0.5694 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002304/0.5259, allocations: 55.2 kB / 0.5694 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/0.5274, allocations: 181.1 kB / 0.5696 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00572/0.5331, allocations: 3.148 MB / 0.5727 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02907/0.5622, allocations: 12.19 MB / 0.5846 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09074/0.6529, allocations: 51.73 MB / 0.6351 GB, free: 6.355 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.6648, allocations: 4.1 MB / 0.6391 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/0.6682, allocations: 1.699 MB / 0.6407 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01761/0.6858, allocations: 6.785 MB / 0.6474 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/0.6859, allocations: 67.73 kB / 0.6474 GB, free: 9.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 5.31e-06/0.6859, allocations: 4 kB / 0.6474 GB, free: 9.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=272): time 0.04146/0.7273, allocations: 14.56 MB / 0.6617 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.7274, allocations: 154.5 kB / 0.6618 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/0.7385, allocations: 5.383 MB / 0.6671 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004471/0.739, allocations: 57.7 kB / 0.6671 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004306/0.7433, allocations: 4.262 MB / 0.6713 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001907/0.7452, allocations: 1.087 MB / 0.6723 GB, free: 204 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005067/0.7502, allocations: 1.653 MB / 0.674 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7504, allocations: 301.1 kB / 0.6742 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005661/0.7561, allocations: 2.542 MB / 0.6767 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01269/0.7688, allocations: 7.368 MB / 0.6839 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01766/0.7864, allocations: 10.76 MB / 0.6944 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002142/0.7866, allocations: 48 kB / 0.6945 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.02474/0.8114, allocations: 9.948 MB / 0.7042 GB, free: 10.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002292/0.8116, allocations: 76 kB / 0.7043 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003658/0.812, allocations: 168 kB / 0.7044 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.8133, allocations: 468.8 kB / 0.7049 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007545/0.8209, allocations: 1.852 MB / 0.7067 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007048/0.8279, allocations: 5.104 MB / 0.7117 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007756/0.8357, allocations: 411.6 kB / 0.712 GB, free: 2.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002259/0.8379, allocations: 499 kB / 0.7125 GB, free: 2.059 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.007986/0.8459, allocations: 2.855 MB / 0.7153 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/0.8473, allocations: 488.7 kB / 0.7158 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007419/0.8548, allocations: 2.96 MB / 0.7187 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.306e-05/0.8548, allocations: 32 kB / 0.7187 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/0.8548, allocations: 4 kB / 0.7187 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.8549, allocations: 7.969 kB / 0.7187 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02592/0.8808, allocations: 9.044 MB / 0.7275 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/0.8808, allocations: 4 kB / 0.7275 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/0.8827, allocations: 383.4 kB / 0.7279 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007753/0.8835, allocations: 249.8 kB / 0.7282 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003312/0.8838, allocations: 48 kB / 0.7282 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3011/1.185, allocations: 4.161 MB / 0.7323 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/1.185, allocations: 14.5 kB / 0.7323 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008351/1.193, allocations: 5.672 MB / 0.7378 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.195, allocations: 464 kB / 0.7383 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005245/1.195, allocations: 49.38 kB / 0.7383 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/1.197, allocations: 108.9 kB / 0.7384 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000383/1.197, allocations: 169.6 kB / 0.7386 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.198, allocations: 79.25 kB / 0.7386 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006827/1.204, allocations: 3.376 MB / 0.7419 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.204, allocations: 1.812 kB / 0.7419 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007599/1.212, allocations: 1.233 MB / 0.7431 GB, free: 184 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.0005188/1.213, allocations: 197.6 kB / 0.7433 GB, free: 183.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.224, allocations: 5.967 MB / 0.7492 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.224, allocations: 0 / 0.7492 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003661/1.228, allocations: 1.696 MB / 0.7508 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006132/1.234, allocations: 0.6418 MB / 0.7514 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/1.265, allocations: 12.46 MB / 0.7636 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009331/1.275, allocations: 4.229 MB / 0.7677 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.01078/1.285, allocations: 2.707 MB / 0.7704 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/1.287, allocations: 334.2 kB / 0.7707 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.287, allocations: 0 / 0.7707 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.087/1.374, allocations: 42.86 MB / 0.8126 GB, free: 134.7 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.948176170932129] Failed to read output from testmodel.py, exit status != 0: 1.3840090159792453 1.394028239 0.944859038 Calling exit ...