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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 104.6 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 194.8 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04813/0.04813, allocations: 9.14 MB / 306.4 MB, free: 3.77 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002079/0.002079, allocations: 71.89 kB / 423.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1155, allocations: 51.45 MB / 474.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.01075/0.1263, allocations: 8.624 MB / 483.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006174/0.1325, allocations: 2.616 MB / 486 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.134, allocations: 31.94 kB / 486.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.1351, allocations: 369.5 kB / 486.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.1393, allocations: 1.397 MB / 487.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.1398, allocations: 147.8 kB / 488 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003695/0.1436, allocations: 2.529 MB / 490.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.1451, allocations: 0.9348 MB / 491.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.1465, allocations: 0.8988 MB / 492.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.1483, allocations: 1.319 MB / 493.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004424/0.1487, allocations: 236 kB / 493.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.1504, allocations: 0.8309 MB / 494.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.1517, allocations: 1.212 MB / 495.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.1534, allocations: 1.569 MB / 497.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008489/0.1619, allocations: 5.003 MB / 0.4907 GB, free: 4.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.162, allocations: 4 kB / 0.4907 GB, free: 4.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.162, allocations: 0 / 0.4907 GB, free: 4.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.00015/0.1621, allocations: 0 / 0.4907 GB, free: 4.707 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: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.009711/0.1719, allocations: 3.969 MB / 0.4946 GB, free: 0.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1719, allocations: 8.031 kB / 0.4946 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006557/0.1785, allocations: 1.789 MB / 0.4964 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.1811, allocations: 1.367 MB / 0.4977 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.1813, allocations: 160 kB / 0.4978 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/0.1817, allocations: 196 kB / 0.498 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/0.1941, allocations: 7.967 MB / 0.5058 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.959e-05/0.1942, allocations: 23.77 kB / 0.5058 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/0.1945, allocations: 95.88 kB / 0.5059 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003099/0.1976, allocations: 1.844 MB / 0.5077 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2925/0.4901, allocations: 7.157 MB / 0.5147 GB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03725/0.5274, allocations: 24.12 MB / 0.5383 GB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004804/0.5323, allocations: 2.37 MB / 0.5406 GB, free: 21.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.5334, allocations: 0.8306 MB / 0.5414 GB, free: 21.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006046/0.5395, allocations: 4.748 MB / 0.546 GB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.5395, allocations: 43.12 kB / 0.5461 GB, free: 17.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.016e-06/0.5395, allocations: 0 / 0.5461 GB, free: 17.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01344/0.553, allocations: 7.057 MB / 0.553 GB, free: 12.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.5531, allocations: 64.72 kB / 0.553 GB, free: 12.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003066/0.5561, allocations: 2.626 MB / 0.5556 GB, free: 9.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/0.5562, allocations: 49.7 kB / 0.5556 GB, free: 9.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009638/0.5572, allocations: 2.167 MB / 0.5578 GB, free: 7.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003654/0.5576, allocations: 0.5963 MB / 0.5583 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008028/0.5584, allocations: 0.7825 MB / 0.5591 GB, free: 5.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.5584, allocations: 305.1 kB / 0.5594 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.5601, allocations: 1.308 MB / 0.5607 GB, free: 4.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.5628, allocations: 3.441 MB / 0.564 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007636/0.5704, allocations: 5.098 MB / 0.569 GB, free: 9.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-05/0.5705, allocations: 20 kB / 0.569 GB, free: 9.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.009794/0.5803, allocations: 4.812 MB / 0.5737 GB, free: 4.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.671e-05/0.5804, allocations: 38.19 kB / 0.5738 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-05/0.5804, allocations: 76 kB / 0.5738 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/0.5809, allocations: 188.8 kB / 0.574 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/0.5837, allocations: 0.905 MB / 0.5749 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.5864, allocations: 2.368 MB / 0.5772 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/0.5891, allocations: 203.9 kB / 0.5774 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003915/0.5895, allocations: 239.8 kB / 0.5776 GB, free: 0.6367 MB / 398.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.002921/0.5924, allocations: 1.562 MB / 0.5792 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004411/0.5929, allocations: 234 kB / 0.5794 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/0.5965, allocations: 1.947 MB / 0.5813 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/0.5967, allocations: 35.8 kB / 0.5813 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.5967, allocations: 0 / 0.5813 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.5967, allocations: 3.984 kB / 0.5813 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.6072, allocations: 5.572 MB / 0.5868 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.6073, allocations: 6.25 kB / 0.5868 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.6083, allocations: 239.8 kB / 0.587 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003655/0.6087, allocations: 88.73 kB / 0.5871 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.173e-05/0.6088, allocations: 27.98 kB / 0.5871 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.611, allocations: 2.11 MB / 0.5892 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.611, allocations: 7.922 kB / 0.5892 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005275/0.6163, allocations: 3.05 MB / 0.5922 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009565/0.6172, allocations: 303.6 kB / 0.5925 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.6175, allocations: 24.88 kB / 0.5925 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008393/0.6184, allocations: 71.91 kB / 0.5925 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.6186, allocations: 88.83 kB / 0.5926 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.6187, allocations: 42.25 kB / 0.5927 GB, free: 0.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003173/0.6219, allocations: 1.692 MB / 0.5943 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6219, allocations: 0 / 0.5943 GB, free: 15.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003265/0.6252, allocations: 0.6601 MB / 0.595 GB, free: 14.55 MB / 430.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.0003751/0.6256, allocations: 158 kB / 0.5951 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006116/0.6317, allocations: 3.134 MB / 0.5982 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6317, allocations: 0 / 0.5982 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.6334, allocations: 0.9873 MB / 0.5991 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.6355, allocations: 390.6 kB / 0.5995 GB, free: 9.895 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.6481, allocations: 6.429 MB / 0.6058 GB, free: 3.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003388/0.6515, allocations: 2.566 MB / 0.6083 GB, free: 0.832 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003063/0.6546, allocations: 1.2 MB / 0.6095 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/0.6551, allocations: 167.4 kB / 0.6096 GB, free: 15.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6551, allocations: 8 kB / 0.6096 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Templates: time 0.05273/0.7079, allocations: 24.03 MB / 0.6331 GB, free: 7.562 MB / 462.1 MB " [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: 5.9238544423133135]