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.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.00157/0.00157, allocations: 106.5 kB / 16.4 MB, free: 6.48 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.001503/0.001503, allocations: 202.7 kB / 19.36 MB, free: 3.727 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.565/1.565, allocations: 222.9 MB / 245 MB, free: 15.01 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.04895/0.04895, allocations: 9.135 MB / 306.3 MB, free: 3.762 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.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: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.88 kB / 423.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.1005, allocations: 51.45 MB / 474.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.01028/0.1108, allocations: 8.307 MB / 483.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005585/0.1164, allocations: 2.589 MB / 485.7 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.1175, allocations: 31.94 kB / 485.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.1186, allocations: 365.6 kB / 486.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004575/0.1233, allocations: 1.389 MB / 487.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.1238, allocations: 135.8 kB / 487.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003441/0.1273, allocations: 2.502 MB / 490.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.1288, allocations: 0.8931 MB / 491 MB, free: 260 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.1303, allocations: 0.8832 MB / 491.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.1322, allocations: 1.304 MB / 493.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004226/0.1326, allocations: 228 kB / 493.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.1342, allocations: 0.8309 MB / 494.2 MB, free: 13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.1355, allocations: 1.204 MB / 495.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.1373, allocations: 1.542 MB / 497 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006533/0.1438, allocations: 4.976 MB / 0.4902 GB, free: 5.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1438, allocations: 0 / 0.4902 GB, free: 5.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1439, allocations: 4 kB / 0.4902 GB, free: 5.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.254e-05/0.144, allocations: 0 / 0.4902 GB, free: 5.246 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: 1144 * Number of variables: 1144 Notification: Performance of Generate backend data structure: time 0.00873/0.1527, allocations: 3.918 MB / 0.494 GB, free: 1.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1527, allocations: 8.031 kB / 0.494 GB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006872/0.1596, allocations: 1.769 MB / 0.4958 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/0.1626, allocations: 1.353 MB / 0.4971 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.1627, allocations: 144 kB / 0.4972 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004418/0.1632, allocations: 203.9 kB / 0.4974 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/0.1763, allocations: 7.906 MB / 0.5051 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-05/0.1764, allocations: 23.77 kB / 0.5052 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.1767, allocations: 99.84 kB / 0.5053 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003306/0.18, allocations: 1.833 MB / 0.5071 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2539/0.4339, allocations: 7.127 MB / 0.514 GB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03693/0.4709, allocations: 23.87 MB / 0.5373 GB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004841/0.4758, allocations: 2.377 MB / 0.5396 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.4768, allocations: 0.8158 MB / 0.5404 GB, free: 21.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005621/0.4825, allocations: 4.601 MB / 0.5449 GB, free: 18.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4825, allocations: 46.97 kB / 0.545 GB, free: 18.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.155e-06/0.4825, allocations: 0 / 0.545 GB, free: 18.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=153): time 0.01223/0.4948, allocations: 7.062 MB / 0.5519 GB, free: 13.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.4948, allocations: 68.72 kB / 0.5519 GB, free: 13.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002809/0.4976, allocations: 2.593 MB / 0.5545 GB, free: 10.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.085e-05/0.4978, allocations: 45.7 kB / 0.5545 GB, free: 10.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009213/0.4987, allocations: 2.132 MB / 0.5566 GB, free: 8.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/0.499, allocations: 0.6031 MB / 0.5572 GB, free: 7.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007892/0.4998, allocations: 0.7746 MB / 0.5579 GB, free: 7.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.641e-05/0.4999, allocations: 307 kB / 0.5582 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.5014, allocations: 1.276 MB / 0.5595 GB, free: 5.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/0.5036, allocations: 3.373 MB / 0.5628 GB, free: 1.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006341/0.51, allocations: 5 MB / 0.5677 GB, free: 11.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.957e-05/0.5101, allocations: 24 kB / 0.5677 GB, free: 11.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009039/0.5191, allocations: 4.851 MB / 0.5724 GB, free: 6.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/0.5192, allocations: 36 kB / 0.5725 GB, free: 6.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.281e-05/0.5193, allocations: 76.16 kB / 0.5725 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008001/0.5201, allocations: 311.8 kB / 0.5728 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/0.5227, allocations: 0.8461 MB / 0.5737 GB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005183/0.5279, allocations: 3.65 MB / 0.5772 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/0.5308, allocations: 192 kB / 0.5774 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003702/0.5312, allocations: 232 kB / 0.5776 GB, free: 0.7539 MB / 398.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.002932/0.5341, allocations: 1.55 MB / 0.5791 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/0.5347, allocations: 230.5 kB / 0.5794 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.5385, allocations: 1.999 MB / 0.5813 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/0.5387, allocations: 27.98 kB / 0.5813 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5387, allocations: 0 / 0.5813 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.5387, allocations: 11.91 kB / 0.5813 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.5492, allocations: 5.643 MB / 0.5869 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.5493, allocations: 4 kB / 0.5869 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008015/0.5501, allocations: 203.7 kB / 0.5871 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005943/0.5507, allocations: 215.4 kB / 0.5873 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/0.5508, allocations: 35.05 kB / 0.5873 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/0.5545, allocations: 2.964 MB / 0.5902 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5545, allocations: 4 kB / 0.5902 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004887/0.5594, allocations: 3.094 MB / 0.5932 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006515/0.5601, allocations: 307.6 kB / 0.5935 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.5603, allocations: 31.94 kB / 0.5935 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000733/0.5611, allocations: 63.92 kB / 0.5936 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.5613, allocations: 88.81 kB / 0.5937 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.33e-05/0.5614, allocations: 51.77 kB / 0.5937 GB, free: 15.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002592/0.564, allocations: 1.667 MB / 0.5954 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.564, allocations: 4 kB / 0.5954 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002933/0.5669, allocations: 0.6746 MB / 0.596 GB, free: 13.58 MB / 430.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.0003528/0.5673, allocations: 158.8 kB / 0.5962 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005228/0.5725, allocations: 3.138 MB / 0.5992 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5725, allocations: 4 kB / 0.5992 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.5741, allocations: 1.032 MB / 0.6002 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.5758, allocations: 389 kB / 0.6006 GB, free: 8.875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.5874, allocations: 6.5 MB / 0.607 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002944/0.5904, allocations: 2.558 MB / 0.6095 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002736/0.5931, allocations: 1.168 MB / 0.6106 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.5936, allocations: 167.4 kB / 0.6108 GB, free: 14.39 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.5936, allocations: 0 / 0.6108 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Templates: time 0.05351/0.6471, allocations: 24.79 MB / 0.635 GB, free: 5.75 MB / 462.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.8821091167628765]