Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.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.002213/0.002213, allocations: 102 kB / 16.4 MB, free: 6.508 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.002118/0.002118, allocations: 199.8 kB / 19.35 MB, free: 3.73 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.448/1.448, allocations: 222.9 MB / 245.1 MB, free: 15 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.04916/0.04916, allocations: 9.134 MB / 306.4 MB, free: 3.746 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.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.91 kB / 423.3 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1058, allocations: 51.44 MB / 474.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.01018/0.116, allocations: 8.182 MB / 483 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005179/0.1212, allocations: 2.534 MB / 485.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.1222, allocations: 31.94 kB / 485.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000786/0.1229, allocations: 345.7 kB / 485.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.1261, allocations: 1.408 MB / 487.3 MB, free: 4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1264, allocations: 99.81 kB / 487.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003001/0.1294, allocations: 2.432 MB / 489.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.1305, allocations: 0.8134 MB / 490.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.1317, allocations: 0.8637 MB / 491.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.1333, allocations: 1.257 MB / 492.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003557/0.1337, allocations: 220 kB / 493 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.1352, allocations: 0.8152 MB / 493.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001202/0.1365, allocations: 1.208 MB / 495 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.1381, allocations: 1.534 MB / 496.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006111/0.1442, allocations: 4.968 MB / 0.4897 GB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1443, allocations: 0 / 0.4897 GB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1443, allocations: 0 / 0.4897 GB, free: 5.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001052/0.1444, allocations: 3.938 kB / 0.4897 GB, free: 5.719 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: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.01201/0.1564, allocations: 4.815 MB / 0.4944 GB, free: 0.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1565, allocations: 8.031 kB / 0.4944 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006634/0.1631, allocations: 1.769 MB / 0.4962 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/0.1662, allocations: 1.338 MB / 0.4975 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.1663, allocations: 147.9 kB / 0.4976 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004187/0.1668, allocations: 188.2 kB / 0.4978 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.1818, allocations: 8.353 MB / 0.506 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.8e-05/0.1819, allocations: 31.78 kB / 0.506 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003043/0.1822, allocations: 91.86 kB / 0.5061 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003422/0.1856, allocations: 1.934 MB / 0.508 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2563/0.442, allocations: 7.536 MB / 0.5153 GB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03567/0.4777, allocations: 26.34 MB / 0.5411 GB, free: 20.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006078/0.4838, allocations: 2.6 MB / 0.5436 GB, free: 19.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.4852, allocations: 0.8714 MB / 0.5444 GB, free: 18.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006801/0.4921, allocations: 5.778 MB / 0.5501 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.4921, allocations: 52.58 kB / 0.5501 GB, free: 13.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 4.549e-06/0.4922, allocations: 0 / 0.5501 GB, free: 13.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01365/0.5058, allocations: 6.989 MB / 0.557 GB, free: 7.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.5059, allocations: 64.72 kB / 0.557 GB, free: 7.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/0.5092, allocations: 2.626 MB / 0.5596 GB, free: 4.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.5093, allocations: 45.7 kB / 0.5596 GB, free: 4.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009109/0.5102, allocations: 2.226 MB / 0.5618 GB, free: 2.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/0.5106, allocations: 0.6111 MB / 0.5624 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008399/0.5115, allocations: 0.842 MB / 0.5632 GB, free: 1.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.5115, allocations: 301.1 kB / 0.5635 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.5134, allocations: 1.316 MB / 0.5648 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004391/0.5178, allocations: 3.711 MB / 0.5684 GB, free: 10.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007595/0.5255, allocations: 5.442 MB / 0.5737 GB, free: 3.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.715e-05/0.5256, allocations: 28.94 kB / 0.5738 GB, free: 3.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009986/0.5356, allocations: 5.116 MB / 0.5788 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.5356, allocations: 40 kB / 0.5788 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.623e-05/0.5357, allocations: 84.88 kB / 0.5789 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006737/0.5364, allocations: 269.3 kB / 0.5791 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/0.5392, allocations: 0.9357 MB / 0.58 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/0.5437, allocations: 3.2 MB / 0.5832 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/0.5478, allocations: 205.1 kB / 0.5834 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005673/0.5484, allocations: 252 kB / 0.5836 GB, free: 9.656 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (510): * Single equations (assignments): 505 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002874/0.5512, allocations: 1.609 MB / 0.5852 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/0.5517, allocations: 238.4 kB / 0.5854 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.5553, allocations: 1.963 MB / 0.5873 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001184/0.5554, allocations: 27.98 kB / 0.5873 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5555, allocations: 4 kB / 0.5874 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.5555, allocations: 7.969 kB / 0.5874 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.5671, allocations: 5.931 MB / 0.5932 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.5672, allocations: 11.94 kB / 0.5932 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008389/0.5681, allocations: 216.3 kB / 0.5934 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/0.5685, allocations: 175.8 kB / 0.5935 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/0.5686, allocations: 28.28 kB / 0.5936 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/0.572, allocations: 2.604 MB / 0.5961 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.572, allocations: 12 kB / 0.5961 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005271/0.5773, allocations: 3.147 MB / 0.5992 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009392/0.5782, allocations: 311.6 kB / 0.5995 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.5785, allocations: 32 kB / 0.5995 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/0.5793, allocations: 59.94 kB / 0.5996 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/0.5796, allocations: 100.8 kB / 0.5997 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.5797, allocations: 45.95 kB / 0.5997 GB, free: 8.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00298/0.5827, allocations: 1.672 MB / 0.6013 GB, free: 7.078 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5827, allocations: 0 / 0.6013 GB, free: 7.078 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00395/0.5866, allocations: 0.6874 MB / 0.602 GB, free: 6.391 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,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 (118): * Single equations (assignments): 113 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000468/0.5871, allocations: 161.6 kB / 0.6022 GB, free: 6.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006464/0.5936, allocations: 3.267 MB / 0.6054 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.5936, allocations: 4 kB / 0.6054 GB, free: 2.973 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.5954, allocations: 1.015 MB / 0.6064 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.5976, allocations: 386.9 kB / 0.6067 GB, free: 1.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.6096, allocations: 6.689 MB / 0.6133 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/0.6128, allocations: 2.589 MB / 0.6158 GB, free: 8.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00302/0.6158, allocations: 1.259 MB / 0.617 GB, free: 6.914 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/0.6163, allocations: 175.4 kB / 0.6172 GB, free: 6.742 MB / 446.1 MB Notification: Performance of SimCode: time 6.62e-07/0.6163, allocations: 0 / 0.6172 GB, free: 6.742 MB / 446.1 MB Notification: Performance of Templates: time 0.05177/0.6681, allocations: 22.69 MB / 0.6393 GB, free: 180 kB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9870209796354175]