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.001932/0.001932, allocations: 83.03 kB / 19.18 MB, free: 2.516 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.00265/0.00265, allocations: 163.3 kB / 22.46 MB, free: 5.375 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.437/1.437, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.04775/0.04775, allocations: 7.123 MB / 266.3 MB, free: 9.77 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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 392.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.003e-05, allocations: 5.516 kB / 392.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.01663/0.01666, allocations: 12.52 MB / 405.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.0285, allocations: 4.43 MB / 409.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.03092, allocations: 87.62 kB / 409.9 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004276/0.03519, allocations: 1.641 MB / 411.5 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007851/0.04304, allocations: 2.691 MB / 414.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.04476, allocations: 0.6237 MB / 414.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008478/0.05324, allocations: 5.602 MB / 420.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004499/0.05774, allocations: 2.965 MB / 423.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00502/0.06276, allocations: 2.701 MB / 426.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004438/0.0672, allocations: 2.688 MB / 428.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000941/0.06814, allocations: 388 kB / 429.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.07065, allocations: 1.182 MB / 430.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002818/0.07346, allocations: 2.403 MB / 432.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00279/0.07625, allocations: 1.503 MB / 434.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.08898, allocations: 8.678 MB / 443 MB, free: 6.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.08899, allocations: 0 / 443 MB, free: 6.914 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08899, allocations: 0 / 443 MB, free: 6.914 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003613/0.08935, allocations: 0 / 443 MB, free: 6.914 MB / 366.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.01915/0.1085, allocations: 6.66 MB / 449.6 MB, free: 192 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1085, allocations: 8.625 kB / 449.6 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.197/0.3055, allocations: 3.577 MB / 453.2 MB, free: 60.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00598/0.3115, allocations: 2.701 MB / 455.9 MB, free: 59.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.3117, allocations: 273.1 kB / 456.2 MB, free: 59.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.3127, allocations: 359.7 kB / 456.5 MB, free: 59.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/0.3328, allocations: 14.04 MB / 470.6 MB, free: 49.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.333, allocations: 55.52 kB / 470.6 MB, free: 49.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000566/0.3335, allocations: 178.1 kB / 470.8 MB, free: 48.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00398/0.3375, allocations: 3.135 MB / 473.9 MB, free: 45.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02057/0.3581, allocations: 12.17 MB / 486.1 MB, free: 33.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05624/0.4143, allocations: 48.3 MB / 0.5219 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.4257, allocations: 4.244 MB / 0.526 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00302/0.4287, allocations: 1.701 MB / 0.5277 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/0.4433, allocations: 6.403 MB / 0.5339 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/0.4434, allocations: 63.75 kB / 0.534 GB, free: 4.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=242): time 8.065e-06/0.4434, allocations: 0 / 0.534 GB, free: 4.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=272): time 0.0355/0.4789, allocations: 14.94 MB / 0.5486 GB, free: 5.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.479, allocations: 150.5 kB / 0.5487 GB, free: 5.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009174/0.4882, allocations: 4.925 MB / 0.5535 GB, free: 108 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005083/0.4887, allocations: 57.7 kB / 0.5536 GB, free: 44 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004209/0.4929, allocations: 4.239 MB / 0.5577 GB, free: 11.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001708/0.4946, allocations: 1.07 MB / 0.5588 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002862/0.4975, allocations: 1.64 MB / 0.5604 GB, free: 9.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4976, allocations: 301.1 kB / 0.5607 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004588/0.5022, allocations: 2.558 MB / 0.5632 GB, free: 6.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009216/0.5114, allocations: 7.376 MB / 0.5704 GB, free: 12.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01642/0.5278, allocations: 10.76 MB / 0.5809 GB, free: 15.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001948/0.528, allocations: 48 kB / 0.5809 GB, free: 15.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.02264/0.5507, allocations: 9.905 MB / 0.5906 GB, free: 5.305 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.5508, allocations: 79.12 kB / 0.5907 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002415/0.5511, allocations: 176 kB / 0.5908 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.5522, allocations: 464.9 kB / 0.5913 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006616/0.5588, allocations: 1.86 MB / 0.5931 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006788/0.5656, allocations: 5.012 MB / 0.598 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007001/0.5726, allocations: 495.5 kB / 0.5985 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/0.5741, allocations: 496 kB / 0.5989 GB, free: 12.55 MB / 478.1 MB 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.00577/0.5798, allocations: 2.855 MB / 0.6017 GB, free: 9.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/0.5809, allocations: 417.2 kB / 0.6021 GB, free: 9.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/0.5863, allocations: 2.903 MB / 0.605 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-05/0.5863, allocations: 31.94 kB / 0.605 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.5864, allocations: 4 kB / 0.605 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/0.5864, allocations: 15.95 kB / 0.605 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/0.6034, allocations: 7.484 MB / 0.6123 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/0.6034, allocations: 11.94 kB / 0.6123 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/0.6052, allocations: 383.4 kB / 0.6127 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007536/0.606, allocations: 237.8 kB / 0.6129 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/0.6062, allocations: 55.98 kB / 0.613 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005081/0.6113, allocations: 4.091 MB / 0.617 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/0.6113, allocations: 11.94 kB / 0.617 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009067/0.6203, allocations: 5.588 MB / 0.6224 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.6217, allocations: 405.1 kB / 0.6228 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005325/0.6222, allocations: 51.97 kB / 0.6229 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.624, allocations: 151.7 kB / 0.623 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003822/0.6244, allocations: 165.5 kB / 0.6232 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/0.6246, allocations: 76 kB / 0.6233 GB, free: 3.094 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005249/0.6298, allocations: 2.835 MB / 0.626 GB, free: 260 kB / 494.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6298, allocations: 0 / 0.626 GB, free: 260 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.1721/0.8019, allocations: 1.276 MB / 0.6273 GB, free: 163.3 MB / 494.1 MB 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.0006127/0.8025, allocations: 207 kB / 0.6275 GB, free: 163.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0111/0.8136, allocations: 5.97 MB / 0.6333 GB, free: 161.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.8136, allocations: 1.344 kB / 0.6333 GB, free: 161.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002401/0.816, allocations: 1.696 MB / 0.635 GB, free: 161.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/0.819, allocations: 0.4927 MB / 0.6354 GB, free: 161 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.8369, allocations: 12.19 MB / 0.6473 GB, free: 155.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003991/0.8409, allocations: 3.73 MB / 0.651 GB, free: 154.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005078/0.846, allocations: 2.625 MB / 0.6535 GB, free: 154.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009001/0.8469, allocations: 305.8 kB / 0.6538 GB, free: 154.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.263e-06/0.8469, allocations: 0 / 0.6538 GB, free: 154.5 MB / 494.1 MB Notification: Performance of Templates: time 0.06736/0.9142, allocations: 32.96 MB / 0.686 GB, free: 124.5 MB / 494.1 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.821640346199274] Failed to read output from testmodel.py, exit status != 0: 0.9233681038022041 0.932077945 0.8406929399999999 Calling exit ...