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.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.001388/0.001388, allocations: 78.88 kB / 19.18 MB, free: 2.527 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.001406/0.001406, allocations: 167.9 kB / 22.46 MB, free: 5.371 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.427/1.427, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.04795/0.04795, allocations: 7.118 MB / 266.3 MB, free: 9.789 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.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 1.212e-06/1.212e-06, allocations: 0 / 392.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.277e-05, allocations: 6.219 kB / 392.9 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.009128/0.009151, allocations: 7.218 MB / 400.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004989/0.01414, allocations: 2.445 MB / 402.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006555/0.0148, allocations: 39.81 kB / 402.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007975/0.01559, allocations: 373.5 kB / 402.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.0187, allocations: 1.474 MB / 404.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.01899, allocations: 95.73 kB / 404.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003039/0.02203, allocations: 2.468 MB / 407 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.02313, allocations: 0.681 MB / 407.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.02504, allocations: 1.325 MB / 409 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.02692, allocations: 1.282 MB / 410.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003699/0.02729, allocations: 220 kB / 410.5 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.02876, allocations: 0.8073 MB / 411.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.03001, allocations: 1.254 MB / 412.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.03103, allocations: 0.7902 MB / 413.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006026/0.03706, allocations: 4.917 MB / 418.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.03706, allocations: 0 / 418.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.03706, allocations: 0 / 418.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.977e-05/0.03713, allocations: 0 / 418.2 MB, free: 15.75 MB / 350.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.01242/0.04955, allocations: 4.787 MB / 423 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.04959, allocations: 12.62 kB / 423 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007291/0.05688, allocations: 1.836 MB / 424.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/0.0598, allocations: 1.284 MB / 426.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.05994, allocations: 143.9 kB / 426.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/0.06045, allocations: 196.2 kB / 426.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.07452, allocations: 8.334 MB / 434.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.106e-05/0.07459, allocations: 27.98 kB / 434.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/0.07489, allocations: 99.8 kB / 435 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00329/0.07818, allocations: 1.934 MB / 436.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01465/0.09282, allocations: 7.48 MB / 444.4 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2069/0.2997, allocations: 23.92 MB / 468.3 MB, free: 43.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007568/0.3072, allocations: 2.184 MB / 470.5 MB, free: 42.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.3086, allocations: 0.811 MB / 471.3 MB, free: 42.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005624/0.3142, allocations: 3.033 MB / 474.3 MB, free: 41.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3142, allocations: 43.47 kB / 474.4 MB, free: 41.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=141): time 4.338e-06/0.3142, allocations: 0 / 474.4 MB, free: 41.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=156): time 0.01383/0.3281, allocations: 6.939 MB / 481.3 MB, free: 38.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.3281, allocations: 71.58 kB / 481.4 MB, free: 38.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/0.3305, allocations: 2.278 MB / 483.6 MB, free: 37.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/0.3305, allocations: 45.08 kB / 483.7 MB, free: 37.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007402/0.3313, allocations: 2.241 MB / 485.9 MB, free: 35.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.3316, allocations: 0.6032 MB / 486.5 MB, free: 34.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000818/0.3324, allocations: 0.8378 MB / 487.4 MB, free: 33.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.3325, allocations: 341.9 kB / 487.7 MB, free: 33.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.3341, allocations: 1.308 MB / 489 MB, free: 32.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.3365, allocations: 3.699 MB / 492.7 MB, free: 27.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004239/0.3407, allocations: 5.432 MB / 498.1 MB, free: 20.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.481e-05/0.3408, allocations: 28 kB / 498.2 MB, free: 20.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.006859/0.3476, allocations: 5.059 MB / 0.4914 GB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.3477, allocations: 40.94 kB / 0.4915 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.928e-05/0.3477, allocations: 84 kB / 0.4916 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/0.3483, allocations: 276.7 kB / 0.4918 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/0.3507, allocations: 0.9319 MB / 0.4927 GB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.3536, allocations: 3.039 MB / 0.4957 GB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/0.3561, allocations: 203.9 kB / 0.4959 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/0.3564, allocations: 248 kB / 0.4961 GB, free: 10.61 MB / 366.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.001856/0.3583, allocations: 1.61 MB / 0.4977 GB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.3586, allocations: 198.7 kB / 0.4979 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.3612, allocations: 1.92 MB / 0.4998 GB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.816e-05/0.3613, allocations: 24.09 kB / 0.4998 GB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3613, allocations: 11.94 kB / 0.4998 GB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.3613, allocations: 9 kB / 0.4998 GB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007179/0.3685, allocations: 4.904 MB / 0.5046 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.3685, allocations: 8 kB / 0.5046 GB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007958/0.3693, allocations: 227.6 kB / 0.5048 GB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004082/0.3697, allocations: 156.7 kB / 0.505 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.3698, allocations: 39.42 kB / 0.505 GB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.3724, allocations: 2.464 MB / 0.5074 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.427e-06/0.3724, allocations: 11.94 kB / 0.5074 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004853/0.3773, allocations: 3.064 MB / 0.5104 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005418/0.3778, allocations: 186.7 kB / 0.5106 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.3781, allocations: 31.52 kB / 0.5106 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007416/0.3788, allocations: 59.94 kB / 0.5107 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.379, allocations: 100.7 kB / 0.5108 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.3791, allocations: 47.98 kB / 0.5108 GB, free: 11.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002062/0.3812, allocations: 1.318 MB / 0.5121 GB, free: 9.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3812, allocations: 0 / 0.5121 GB, free: 9.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003057/0.3842, allocations: 0.6718 MB / 0.5128 GB, free: 9.281 MB / 382.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.0003779/0.3846, allocations: 161.6 kB / 0.5129 GB, free: 9.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005532/0.3901, allocations: 3.118 MB / 0.516 GB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.3902, allocations: 9.25 kB / 0.516 GB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.3917, allocations: 0.9614 MB / 0.5169 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.3933, allocations: 262.8 kB / 0.5172 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.4046, allocations: 6.553 MB / 0.5236 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002879/0.4075, allocations: 2.026 MB / 0.5255 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002846/0.4103, allocations: 1.218 MB / 0.5267 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.4107, allocations: 156.5 kB / 0.5269 GB, free: 10.69 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4107, allocations: 0 / 0.5269 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Templates: time 0.04223/0.453, allocations: 18.22 MB / 0.5447 GB, free: 8.801 MB / 414.1 MB " [Timeout remaining time 660] 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.409153196960688] Failed to read output from testmodel.py, exit status != 0: 0.46200961992144585 0.47811896000000004 0.43635970500000004 Calling exit ...