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.001463/0.001463, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001429/0.001429, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.331/1.331, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 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.04662/0.04662, allocations: 9.235 MB / 322.4 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.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.001912/0.001912, allocations: 67.91 kB / 449 MB, free: 14.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09208/0.09399, allocations: 55.47 MB / 0.4926 GB, free: 7.008 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.009624/0.1036, allocations: 8.389 MB / 0.5008 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004672/0.1083, allocations: 2.651 MB / 0.5034 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008021/0.1091, allocations: 39.88 kB / 0.5035 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008905/0.11, allocations: 365.5 kB / 0.5038 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.113, allocations: 1.444 MB / 0.5052 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.1133, allocations: 131.8 kB / 0.5053 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.1163, allocations: 2.481 MB / 0.5078 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.1173, allocations: 0.7416 MB / 0.5085 GB, free: 6.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.1185, allocations: 0.9027 MB / 0.5094 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.1204, allocations: 1.417 MB / 0.5108 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.1208, allocations: 232 kB / 0.511 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.1221, allocations: 0.8854 MB / 0.5118 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001026/0.1231, allocations: 1.211 MB / 0.513 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.1244, allocations: 1.538 MB / 0.5145 GB, free: 500 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1769/0.3013, allocations: 4.935 MB / 0.5193 GB, free: 12.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3013, allocations: 0 / 0.5193 GB, free: 12.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3013, allocations: 0 / 0.5193 GB, free: 12.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.756e-05/0.3013, allocations: 0 / 0.5193 GB, free: 12.28 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.007226/0.3086, allocations: 3.863 MB / 0.5231 GB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.3086, allocations: 9.406 kB / 0.5231 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/0.3145, allocations: 1.777 MB / 0.5249 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.317, allocations: 1.296 MB / 0.5261 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-05/0.3171, allocations: 141.7 kB / 0.5263 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000391/0.3175, allocations: 190.8 kB / 0.5264 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/0.3283, allocations: 7.92 MB / 0.5342 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.73e-05/0.3284, allocations: 23.11 kB / 0.5342 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.3287, allocations: 90.62 kB / 0.5343 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002498/0.3312, allocations: 1.845 MB / 0.5361 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.3425, allocations: 7.132 MB / 0.543 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02969/0.3722, allocations: 23.79 MB / 0.5663 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/0.3769, allocations: 1.84 MB / 0.5681 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.3781, allocations: 0.7695 MB / 0.5688 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006398/0.3845, allocations: 3.166 MB / 0.5719 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3845, allocations: 43.56 kB / 0.572 GB, free: 11.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 2.685e-06/0.3845, allocations: 4 kB / 0.572 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=153): time 0.01388/0.3984, allocations: 6.832 MB / 0.5786 GB, free: 4.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.3985, allocations: 68.72 kB / 0.5787 GB, free: 4.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/0.4022, allocations: 2.587 MB / 0.5812 GB, free: 1.867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.4023, allocations: 45.7 kB / 0.5813 GB, free: 1.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.404, allocations: 2.141 MB / 0.5834 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000553/0.4045, allocations: 0.5905 MB / 0.5839 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.4056, allocations: 0.7785 MB / 0.5847 GB, free: 14.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4057, allocations: 304.9 kB / 0.585 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.4077, allocations: 1.276 MB / 0.5862 GB, free: 12.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003666/0.4114, allocations: 3.374 MB / 0.5895 GB, free: 8.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/0.4173, allocations: 5.003 MB / 0.5944 GB, free: 2.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.189e-05/0.4174, allocations: 20 kB / 0.5944 GB, free: 2.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.007691/0.4251, allocations: 4.835 MB / 0.5992 GB, free: 14.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.4251, allocations: 36 kB / 0.5992 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.741e-05/0.4252, allocations: 76 kB / 0.5993 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007161/0.4259, allocations: 308.7 kB / 0.5996 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.4283, allocations: 0.8506 MB / 0.6004 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004512/0.4328, allocations: 3.547 MB / 0.6039 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.4349, allocations: 195.9 kB / 0.604 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/0.4352, allocations: 220 kB / 0.6043 GB, free: 8.703 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.002309/0.4375, allocations: 1.558 MB / 0.6058 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/0.4379, allocations: 229.1 kB / 0.606 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.4412, allocations: 2.005 MB / 0.608 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001/0.4413, allocations: 32.14 kB / 0.608 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4413, allocations: 0 / 0.608 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.4413, allocations: 3.984 kB / 0.608 GB, free: 4.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009378/0.4507, allocations: 5.602 MB / 0.6135 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.4507, allocations: 4.344 kB / 0.6135 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.4515, allocations: 203.8 kB / 0.6137 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005549/0.452, allocations: 219.4 kB / 0.6139 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.472e-05/0.4521, allocations: 31.98 kB / 0.6139 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003405/0.4555, allocations: 2.852 MB / 0.6167 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.4555, allocations: 4 kB / 0.6167 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004467/0.46, allocations: 3.095 MB / 0.6197 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/0.4605, allocations: 229.1 kB / 0.6199 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.4607, allocations: 27.05 kB / 0.6199 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/0.4614, allocations: 63.92 kB / 0.62 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.4616, allocations: 100.7 kB / 0.6201 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/0.4617, allocations: 44 kB / 0.6201 GB, free: 8.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002434/0.4641, allocations: 1.671 MB / 0.6218 GB, free: 6.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4641, allocations: 0 / 0.6218 GB, free: 6.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00255/0.4667, allocations: 0.6674 MB / 0.6224 GB, free: 5.816 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.0003154/0.467, allocations: 154.9 kB / 0.6226 GB, free: 5.652 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004905/0.4719, allocations: 3.03 MB / 0.6255 GB, free: 2.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4719, allocations: 0 / 0.6255 GB, free: 2.629 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.4733, allocations: 0.9663 MB / 0.6265 GB, free: 1.656 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.475, allocations: 392.3 kB / 0.6269 GB, free: 1.293 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.4864, allocations: 6.945 MB / 0.6336 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/0.4891, allocations: 2.562 MB / 0.6361 GB, free: 7.715 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/0.4898, allocations: 207.4 kB / 0.6363 GB, free: 7.512 MB / 478.1 MB Notification: Performance of SimCode: time 1.001e-06/0.4898, allocations: 0 / 0.6363 GB, free: 7.512 MB / 478.1 MB Notification: Performance of Templates: time 0.0735/0.5633, allocations: 56.1 MB / 0.6911 GB, free: 15.54 MB / 0.5294 GB " [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: 10.483856163918972] Failed to read output from testmodel.py, exit status != 0: 0.5712755438871682 0.585213872 0.281056322 Calling exit ...