Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.00141/0.00141, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001519/0.001519, allocations: 221.1 kB / 22.24 MB, free: 5.105 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.793 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.05085/0.05085, allocations: 9.229 MB / 321.7 MB, free: 9.844 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.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") [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.002071/0.002071, allocations: 71.89 kB / 448.2 MB, free: 14.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1049, allocations: 55.47 MB / 0.4918 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.009791/0.1146, allocations: 7.354 MB / 0.499 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00513/0.1198, allocations: 2.488 MB / 0.5014 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009344/0.1207, allocations: 39.88 kB / 0.5015 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.1217, allocations: 373.5 kB / 0.5018 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.1251, allocations: 1.44 MB / 0.5032 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.1255, allocations: 135.8 kB / 0.5034 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002864/0.1283, allocations: 2.476 MB / 0.5058 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009545/0.1293, allocations: 0.726 MB / 0.5065 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.1303, allocations: 0.9066 MB / 0.5074 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.1321, allocations: 1.362 MB / 0.5087 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003678/0.1325, allocations: 232 kB / 0.5089 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.1339, allocations: 0.7606 MB / 0.5097 GB, free: 4.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.1351, allocations: 1.211 MB / 0.5109 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.1362, allocations: 1.083 MB / 0.5119 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2192/0.3554, allocations: 4.941 MB / 0.5167 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3554, allocations: 2.594 kB / 0.5167 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3554, allocations: 0.9688 kB / 0.5167 GB, free: 12.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001573/0.3556, allocations: 1.969 kB / 0.5167 GB, free: 12.88 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: 1144 * Number of variables: 1144 Notification: Performance of Generate backend data structure: time 0.009695/0.3653, allocations: 3.864 MB / 0.5205 GB, free: 11.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3653, allocations: 8.375 kB / 0.5205 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00676/0.3721, allocations: 1.773 MB / 0.5223 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.3753, allocations: 1.308 MB / 0.5235 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.3754, allocations: 149.9 kB / 0.5237 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005944/0.376, allocations: 189.5 kB / 0.5239 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/0.389, allocations: 7.913 MB / 0.5316 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.447e-05/0.389, allocations: 26.83 kB / 0.5316 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003022/0.3893, allocations: 92.16 kB / 0.5317 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002997/0.3923, allocations: 1.846 MB / 0.5335 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.4065, allocations: 7.109 MB / 0.5404 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03573/0.4422, allocations: 21.52 MB / 0.5615 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005986/0.4482, allocations: 1.84 MB / 0.5633 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.4499, allocations: 0.7657 MB / 0.564 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007578/0.4574, allocations: 2.87 MB / 0.5668 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/0.4575, allocations: 39.56 kB / 0.5668 GB, free: 15.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.539e-06/0.4575, allocations: 0 / 0.5668 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.01633/0.4738, allocations: 6.799 MB / 0.5735 GB, free: 9.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.4739, allocations: 67.67 kB / 0.5735 GB, free: 9.141 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003922/0.4778, allocations: 2.205 MB / 0.5757 GB, free: 6.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.4779, allocations: 45.7 kB / 0.5757 GB, free: 6.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.4797, allocations: 2.16 MB / 0.5779 GB, free: 4.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005915/0.4803, allocations: 0.5907 MB / 0.5784 GB, free: 4.152 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.4815, allocations: 0.7863 MB / 0.5792 GB, free: 3.359 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4817, allocations: 349.3 kB / 0.5795 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002278/0.484, allocations: 1.284 MB / 0.5808 GB, free: 1.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004174/0.4881, allocations: 3.366 MB / 0.5841 GB, free: 13.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006782/0.4949, allocations: 5.004 MB / 0.589 GB, free: 7.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.976e-05/0.495, allocations: 20 kB / 0.589 GB, free: 7.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008929/0.5039, allocations: 4.8 MB / 0.5937 GB, free: 3.082 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.504, allocations: 36 kB / 0.5937 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.794e-05/0.5041, allocations: 72.88 kB / 0.5938 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008044/0.5049, allocations: 316.2 kB / 0.5941 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/0.5075, allocations: 0.8422 MB / 0.5949 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004833/0.5124, allocations: 3.485 MB / 0.5983 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.5147, allocations: 195.9 kB / 0.5985 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003602/0.5151, allocations: 223.9 kB / 0.5987 GB, free: 13.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * 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 (463): * Single equations (assignments): 458 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002764/0.5178, allocations: 1.563 MB / 0.6002 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.5182, allocations: 194.7 kB / 0.6004 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.5217, allocations: 1.955 MB / 0.6023 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/0.5218, allocations: 23.98 kB / 0.6023 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.5219, allocations: 10.56 kB / 0.6024 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.5219, allocations: 8.578 kB / 0.6024 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009467/0.5313, allocations: 4.568 MB / 0.6068 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5314, allocations: 4 kB / 0.6068 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008434/0.5322, allocations: 200.4 kB / 0.607 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006245/0.5328, allocations: 212.7 kB / 0.6072 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.51e-05/0.5329, allocations: 31.05 kB / 0.6072 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003844/0.5368, allocations: 2.792 MB / 0.61 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.5368, allocations: 8.75 kB / 0.61 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005037/0.5418, allocations: 3.052 MB / 0.613 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005277/0.5423, allocations: 178.7 kB / 0.6131 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.5426, allocations: 24 kB / 0.6132 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/0.5433, allocations: 67.92 kB / 0.6132 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.5434, allocations: 95.89 kB / 0.6133 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.5435, allocations: 40 kB / 0.6134 GB, free: 14.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002119/0.5457, allocations: 1.3 MB / 0.6146 GB, free: 13.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5457, allocations: 288 / 0.6146 GB, free: 13.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002774/0.5484, allocations: 0.6553 MB / 0.6153 GB, free: 12.67 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel) * 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 (113): * Single equations (assignments): 108 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003523/0.5488, allocations: 162.5 kB / 0.6154 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005238/0.554, allocations: 3.032 MB / 0.6184 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.554, allocations: 0 / 0.6184 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.5556, allocations: 0.958 MB / 0.6193 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.5569, allocations: 264.3 kB / 0.6196 GB, free: 8.262 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.5681, allocations: 6.511 MB / 0.6259 GB, free: 1.707 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002908/0.571, allocations: 1.996 MB / 0.6279 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002716/0.5737, allocations: 1.125 MB / 0.629 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/0.5741, allocations: 147.4 kB / 0.6291 GB, free: 14.41 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5741, allocations: 0 / 0.6291 GB, free: 14.41 MB / 478.1 MB Notification: Performance of Templates: time 0.0456/0.6197, allocations: 23.41 MB / 0.652 GB, free: 7.316 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.608326453715563] Failed to read output from testmodel.py, exit status != 0: 0.6292807701975107 0.644172337 0.28562116299999996 Calling exit ...