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.001466/0.001466, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001687/0.001687, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.992 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.05177/0.05177, allocations: 9.225 MB / 321.7 MB, free: 10.05 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.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: 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.002384/0.002384, allocations: 64.17 kB / 448.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1392, allocations: 55.47 MB / 0.4919 GB, free: 7.008 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.01507/0.1542, allocations: 8.714 MB / 0.5004 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007177/0.1614, allocations: 2.675 MB / 0.503 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.163, allocations: 39.88 kB / 0.5031 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.1643, allocations: 381.4 kB / 0.5034 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004445/0.1687, allocations: 1.436 MB / 0.5048 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.1694, allocations: 139.8 kB / 0.505 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004289/0.1737, allocations: 2.514 MB / 0.5074 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.1753, allocations: 0.7866 MB / 0.5082 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.1773, allocations: 0.9183 MB / 0.5091 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.1797, allocations: 1.436 MB / 0.5105 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004464/0.1801, allocations: 232 kB / 0.5107 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.1819, allocations: 0.8893 MB / 0.5116 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001259/0.1832, allocations: 1.234 MB / 0.5128 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.257/0.4402, allocations: 1.546 MB / 0.5143 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006625/0.4468, allocations: 4.977 MB / 0.5191 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4468, allocations: 5.281 kB / 0.5191 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4468, allocations: 0 / 0.5191 GB, free: 12.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001288/0.447, allocations: 5.219 kB / 0.5191 GB, free: 12.75 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: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.01001/0.457, allocations: 3.909 MB / 0.523 GB, free: 11.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.457, allocations: 11.09 kB / 0.523 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00679/0.4638, allocations: 1.779 MB / 0.5247 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/0.4672, allocations: 1.311 MB / 0.526 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.4673, allocations: 148.7 kB / 0.5261 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004687/0.4678, allocations: 203 kB / 0.5263 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/0.481, allocations: 7.966 MB / 0.5341 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-05/0.4811, allocations: 22.42 kB / 0.5341 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003148/0.4814, allocations: 92.14 kB / 0.5342 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003064/0.4844, allocations: 1.852 MB / 0.536 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.4979, allocations: 7.16 MB / 0.543 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03618/0.534, allocations: 24.03 MB / 0.5665 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/0.5393, allocations: 1.848 MB / 0.5683 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.5408, allocations: 0.7774 MB / 0.5691 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008153/0.549, allocations: 3.318 MB / 0.5723 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/0.549, allocations: 43.56 kB / 0.5723 GB, free: 10.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=128): time 4.839e-06/0.549, allocations: 0 / 0.5723 GB, free: 10.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.01693/0.5659, allocations: 6.907 MB / 0.5791 GB, free: 3.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.566, allocations: 68.66 kB / 0.5791 GB, free: 3.824 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004541/0.5706, allocations: 2.627 MB / 0.5817 GB, free: 1.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.5707, allocations: 45.7 kB / 0.5818 GB, free: 1.117 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001904/0.5726, allocations: 2.16 MB / 0.5839 GB, free: 14.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007275/0.5733, allocations: 0.5945 MB / 0.5844 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.5746, allocations: 0.7848 MB / 0.5852 GB, free: 13.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5747, allocations: 301.1 kB / 0.5855 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/0.5772, allocations: 1.311 MB / 0.5868 GB, free: 11.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004687/0.5818, allocations: 3.436 MB / 0.5901 GB, free: 7.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007719/0.5896, allocations: 5.091 MB / 0.5951 GB, free: 1.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.933e-05/0.5896, allocations: 24 kB / 0.5951 GB, free: 1.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.009838/0.5995, allocations: 4.819 MB / 0.5998 GB, free: 13.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.5995, allocations: 38.81 kB / 0.5999 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.342e-05/0.5996, allocations: 72 kB / 0.5999 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.6, allocations: 188.8 kB / 0.6001 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/0.603, allocations: 0.9097 MB / 0.601 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.6058, allocations: 2.263 MB / 0.6032 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/0.6088, allocations: 214.9 kB / 0.6034 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005137/0.6093, allocations: 228 kB / 0.6036 GB, free: 9.059 MB / 446.1 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.003076/0.6124, allocations: 1.559 MB / 0.6052 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/0.6128, allocations: 230.5 kB / 0.6054 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.6166, allocations: 1.951 MB / 0.6073 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001109/0.6167, allocations: 27.98 kB / 0.6073 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6168, allocations: 0 / 0.6073 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.6168, allocations: 9.406 kB / 0.6073 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.6275, allocations: 5.542 MB / 0.6127 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.6275, allocations: 0.5625 kB / 0.6127 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.6286, allocations: 247.8 kB / 0.613 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.6288, allocations: 81.27 kB / 0.6131 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.21e-05/0.6289, allocations: 27.98 kB / 0.6131 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.6311, allocations: 2.011 MB / 0.615 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.6311, allocations: 7.938 kB / 0.615 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00529/0.6364, allocations: 3.041 MB / 0.618 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.6374, allocations: 238.4 kB / 0.6182 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005689/0.638, allocations: 22.42 kB / 0.6183 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.6394, allocations: 79.84 kB / 0.6183 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002464/0.6396, allocations: 84.84 kB / 0.6184 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/0.6397, allocations: 43.98 kB / 0.6185 GB, free: 9.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003338/0.6431, allocations: 1.687 MB / 0.6201 GB, free: 7.887 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6431, allocations: 0 / 0.6201 GB, free: 7.887 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00344/0.6465, allocations: 0.6522 MB / 0.6208 GB, free: 7.238 MB / 462.1 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.000374/0.6469, allocations: 151 kB / 0.6209 GB, free: 7.082 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005686/0.6526, allocations: 3.015 MB / 0.6238 GB, free: 4.082 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.6526, allocations: 8 kB / 0.6238 GB, free: 4.074 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.6541, allocations: 0.9192 MB / 0.6247 GB, free: 3.145 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.6561, allocations: 394.1 kB / 0.6251 GB, free: 2.773 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.6692, allocations: 6.498 MB / 0.6315 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003079/0.6723, allocations: 2.567 MB / 0.634 GB, free: 9.652 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003124/0.6754, allocations: 1.205 MB / 0.6352 GB, free: 8.441 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.6759, allocations: 167.4 kB / 0.6353 GB, free: 8.277 MB / 478.1 MB Notification: Performance of SimCode: time 1.713e-06/0.6759, allocations: 11.94 kB / 0.6353 GB, free: 8.266 MB / 478.1 MB Notification: Performance of Templates: time 0.05808/0.734, allocations: 26.84 MB / 0.6615 GB, free: 13.61 MB / 0.4981 GB " [Timeout remaining time 659] 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.529313729843125] Failed to read output from testmodel.py, exit status != 0: 0.7439864149782807 0.7594591940000001 0.30926710500000004 Calling exit ...