Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.000763/0.000763, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007599/0.0007599, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8595/0.8595, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.02595/0.02595, allocations: 7.116 MB / 267.1 MB, free: 6.332 MB / 250.7 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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 393.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.031e-05, allocations: 5.234 kB / 393.6 MB, free: 3.512 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.008429/0.00846, allocations: 7.666 MB / 401.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.01239, allocations: 2.519 MB / 403.8 MB, free: 9.277 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007038/0.0131, allocations: 47.81 kB / 403.9 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008469/0.01394, allocations: 377.4 kB / 404.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.01621, allocations: 1.485 MB / 405.7 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.01652, allocations: 151.6 kB / 405.9 MB, free: 7.219 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.0186, allocations: 2.567 MB / 408.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009939/0.01959, allocations: 0.7791 MB / 409.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.021, allocations: 1.387 MB / 410.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.02256, allocations: 1.317 MB / 411.9 MB, free: 1.137 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003735/0.02293, allocations: 232 kB / 412.2 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.02394, allocations: 0.823 MB / 413 MB, free: 88 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1361/0.1601, allocations: 1.261 MB / 414.2 MB, free: 18.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000862/0.1609, allocations: 0.8225 MB / 415.1 MB, free: 18.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004639/0.1656, allocations: 4.975 MB / 420 MB, free: 18.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1656, allocations: 1.219 kB / 420 MB, free: 18.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1656, allocations: 0 / 420 MB, free: 18.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000117/0.1657, allocations: 0.8906 kB / 420 MB, free: 18.11 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.00773/0.1734, allocations: 3.904 MB / 423.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1735, allocations: 10.91 kB / 423.9 MB, free: 16.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/0.1772, allocations: 1.801 MB / 425.8 MB, free: 16.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.1793, allocations: 1.311 MB / 427.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-05/0.1794, allocations: 158.3 kB / 427.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/0.1797, allocations: 197.1 kB / 427.4 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009421/0.1891, allocations: 7.976 MB / 435.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.489e-05/0.1892, allocations: 29.83 kB / 435.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001989/0.1894, allocations: 92.59 kB / 435.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001547/0.1909, allocations: 1.846 MB / 437.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008556/0.1995, allocations: 7.162 MB / 444.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02301/0.2225, allocations: 21.79 MB / 466.3 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/0.2257, allocations: 1.914 MB / 468.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008081/0.2265, allocations: 0.7763 MB / 469 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004304/0.2308, allocations: 3.057 MB / 472 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2308, allocations: 43.56 kB / 472.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 3.095e-06/0.2308, allocations: 2.719 kB / 472.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=154): time 0.009785/0.2406, allocations: 6.979 MB / 479.1 MB, free: 3.414 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.2407, allocations: 68.7 kB / 479.1 MB, free: 3.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/0.243, allocations: 2.23 MB / 481.4 MB, free: 1.102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.2431, allocations: 49.7 kB / 481.4 MB, free: 1.047 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009154/0.244, allocations: 2.169 MB / 483.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.2444, allocations: 0.5877 MB / 484.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007184/0.2451, allocations: 0.7824 MB / 485 MB, free: 13.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2452, allocations: 349.7 kB / 485.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.2469, allocations: 1.319 MB / 486.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/0.2491, allocations: 3.43 MB / 490 MB, free: 7.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004364/0.2535, allocations: 5.087 MB / 495.1 MB, free: 1.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.385e-05/0.2535, allocations: 20 kB / 495.2 MB, free: 1.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.005981/0.2595, allocations: 4.784 MB / 499.9 MB, free: 12.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.2596, allocations: 42.36 kB / 500 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.313e-05/0.2596, allocations: 80 kB / 0.4883 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.2599, allocations: 180.8 kB / 0.4885 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.2614, allocations: 0.9046 MB / 0.4894 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.263, allocations: 2.139 MB / 0.4915 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.2646, allocations: 207.9 kB / 0.4917 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.2649, allocations: 229.9 kB / 0.4919 GB, free: 8.699 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (478): * Single equations (assignments): 473 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002275/0.2671, allocations: 1.561 MB / 0.4934 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.2674, allocations: 202.6 kB / 0.4936 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.2698, allocations: 1.903 MB / 0.4955 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-05/0.2699, allocations: 31.98 kB / 0.4955 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2699, allocations: 0 / 0.4955 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.2699, allocations: 7.922 kB / 0.4955 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005621/0.2755, allocations: 4.407 MB / 0.4998 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2755, allocations: 0 / 0.4998 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000526/0.276, allocations: 243.8 kB / 0.5001 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.2762, allocations: 84.78 kB / 0.5001 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.2763, allocations: 27.52 kB / 0.5002 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.2777, allocations: 1.872 MB / 0.502 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2777, allocations: 8.031 kB / 0.502 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.2806, allocations: 3.009 MB / 0.5049 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.281, allocations: 178.7 kB / 0.5051 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.2811, allocations: 20 kB / 0.5051 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.2815, allocations: 78.81 kB / 0.5052 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.2816, allocations: 80.78 kB / 0.5053 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.2817, allocations: 43.98 kB / 0.5053 GB, free: 10.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001377/0.283, allocations: 1.309 MB / 0.5066 GB, free: 9.484 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.283, allocations: 0 / 0.5066 GB, free: 9.484 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002058/0.2851, allocations: 0.6445 MB / 0.5072 GB, free: 8.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.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 (124): * Single equations (assignments): 119 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003089/0.2854, allocations: 154.4 kB / 0.5074 GB, free: 8.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003594/0.289, allocations: 3.025 MB / 0.5103 GB, free: 5.664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.289, allocations: 1.562 kB / 0.5103 GB, free: 5.664 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008879/0.2899, allocations: 0.9224 MB / 0.5112 GB, free: 4.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008682/0.2908, allocations: 265.4 kB / 0.5115 GB, free: 4.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00912/0.2999, allocations: 6.701 MB / 0.518 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/0.3017, allocations: 2.01 MB / 0.52 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000599/0.3023, allocations: 192.5 kB / 0.5202 GB, free: 11.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/0.3023, allocations: 0 / 0.5202 GB, free: 11.5 MB / 426.7 MB Notification: Performance of Templates: time 0.05238/0.3547, allocations: 55.05 MB / 0.5739 GB, free: 4.539 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.786168610677123] Failed to read output from testmodel.py, exit status != 0: 0.36193267069756985 0.51280041 0.3452231 Calling exit ...