Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.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.001799/0.001799, allocations: 107.9 kB / 16.41 MB, free: 6.438 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.001422/0.001422, allocations: 198.7 kB / 19.36 MB, free: 3.707 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.477/1.477, 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.04826/0.04826, allocations: 9.131 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.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") translateModel(PlanarMechanics.Examples.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 67.89 kB / 423.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.155, allocations: 51.44 MB / 474.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.01477/0.1698, allocations: 8.778 MB / 483.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007536/0.1774, allocations: 2.678 MB / 486.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.1791, allocations: 35.94 kB / 486.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.1805, allocations: 377.4 kB / 486.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004987/0.1855, allocations: 1.42 MB / 488.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.1863, allocations: 179.7 kB / 488.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004387/0.1907, allocations: 2.626 MB / 490.9 MB, free: 412 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.1927, allocations: 0.9803 MB / 491.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.1949, allocations: 0.9376 MB / 492.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/0.1975, allocations: 1.347 MB / 494.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009096/0.1984, allocations: 240 kB / 494.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.2007, allocations: 0.8426 MB / 495.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001881/0.2026, allocations: 1.235 MB / 496.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002965/0.2056, allocations: 1.6 MB / 498.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00721/0.2128, allocations: 5.093 MB / 0.4914 GB, free: 4.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.2129, allocations: 3.984 kB / 0.4914 GB, free: 4.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2129, allocations: 0 / 0.4914 GB, free: 4.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001564/0.2131, allocations: 0 / 0.4914 GB, free: 4.059 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.0109/0.224, allocations: 4.031 MB / 0.4953 GB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.224, allocations: 12.03 kB / 0.4953 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006891/0.2309, allocations: 1.789 MB / 0.4971 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.2343, allocations: 1.406 MB / 0.4984 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.2345, allocations: 156.1 kB / 0.4986 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005883/0.2351, allocations: 207.9 kB / 0.4988 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.2494, allocations: 7.993 MB / 0.5066 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.798e-05/0.2495, allocations: 27.81 kB / 0.5066 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002947/0.2498, allocations: 95.86 kB / 0.5067 GB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003234/0.253, allocations: 1.841 MB / 0.5085 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2875/0.5405, allocations: 7.171 MB / 0.5155 GB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03672/0.5773, allocations: 24.41 MB / 0.5393 GB, free: 22.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00464/0.582, allocations: 2.385 MB / 0.5417 GB, free: 21.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.5835, allocations: 0.8228 MB / 0.5425 GB, free: 20.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007824/0.5914, allocations: 4.65 MB / 0.547 GB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.5915, allocations: 50.16 kB / 0.5471 GB, free: 17.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.797e-06/0.5915, allocations: 0 / 0.5471 GB, free: 17.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=153): time 0.01238/0.6039, allocations: 6.934 MB / 0.5538 GB, free: 11.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.6039, allocations: 64.72 kB / 0.5539 GB, free: 11.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003163/0.6071, allocations: 2.668 MB / 0.5565 GB, free: 8.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.6072, allocations: 45.7 kB / 0.5565 GB, free: 8.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.6082, allocations: 2.198 MB / 0.5587 GB, free: 6.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.6086, allocations: 0.5922 MB / 0.5593 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008533/0.6094, allocations: 0.7904 MB / 0.56 GB, free: 4.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.6095, allocations: 309.1 kB / 0.5603 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.6112, allocations: 1.292 MB / 0.5616 GB, free: 3.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.6141, allocations: 3.432 MB / 0.5649 GB, free: 14.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006646/0.6208, allocations: 5.078 MB / 0.5699 GB, free: 8.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.304e-05/0.6208, allocations: 20 kB / 0.5699 GB, free: 8.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.009108/0.63, allocations: 4.922 MB / 0.5747 GB, free: 3.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.63, allocations: 36 kB / 0.5748 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-05/0.6301, allocations: 77.88 kB / 0.5748 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007806/0.6309, allocations: 316.4 kB / 0.5751 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.6338, allocations: 0.8655 MB / 0.576 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005338/0.6391, allocations: 3.65 MB / 0.5795 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003229/0.6424, allocations: 195.8 kB / 0.5797 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005005/0.6429, allocations: 232 kB / 0.58 GB, free: 14.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 16 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],PID.I.local_reset,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 (472): * Single equations (assignments): 467 * 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.003347/0.6463, allocations: 1.568 MB / 0.5815 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005293/0.6468, allocations: 238.4 kB / 0.5817 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00403/0.6508, allocations: 2.025 MB / 0.5837 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001107/0.651, allocations: 23.98 kB / 0.5837 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.651, allocations: 4 kB / 0.5837 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/0.651, allocations: 7.969 kB / 0.5837 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.6618, allocations: 5.681 MB / 0.5893 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.6618, allocations: 4 kB / 0.5893 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008647/0.6627, allocations: 203.5 kB / 0.5895 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006366/0.6633, allocations: 214.9 kB / 0.5897 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.704e-05/0.6634, allocations: 35.89 kB / 0.5897 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/0.6676, allocations: 2.945 MB / 0.5926 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.557e-06/0.6676, allocations: 7.984 kB / 0.5926 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00535/0.6729, allocations: 3.118 MB / 0.5956 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.6741, allocations: 463.8 kB / 0.5961 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/0.6744, allocations: 27.83 kB / 0.5961 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008249/0.6752, allocations: 67.86 kB / 0.5962 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.6755, allocations: 84.77 kB / 0.5963 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.6756, allocations: 43.98 kB / 0.5963 GB, free: 13.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003141/0.6788, allocations: 1.724 MB / 0.598 GB, free: 11.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6788, allocations: 0 / 0.598 GB, free: 11.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003265/0.6821, allocations: 0.6874 MB / 0.5987 GB, free: 10.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (PID.I.y,PID.D.x,prismatic.s,prismatic.v,revolute.phi,revolute.w) * 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.000365/0.6824, allocations: 154.8 kB / 0.5988 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006037/0.6885, allocations: 3.186 MB / 0.6019 GB, free: 7.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.6885, allocations: 4 kB / 0.6019 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.6904, allocations: 1.02 MB / 0.6029 GB, free: 6.297 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.6927, allocations: 430.6 kB / 0.6033 GB, free: 5.898 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.7054, allocations: 6.629 MB / 0.6098 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003433/0.7088, allocations: 2.587 MB / 0.6123 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003152/0.712, allocations: 1.188 MB / 0.6135 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004606/0.7125, allocations: 167.4 kB / 0.6136 GB, free: 11.23 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7125, allocations: 0 / 0.6136 GB, free: 11.23 MB / 446.1 MB Notification: Performance of Templates: time 0.05546/0.768, allocations: 25.37 MB / 0.6384 GB, free: 2.02 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.024801756255329]