Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CounterSpin.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.001338/0.001338, allocations: 79.66 kB / 19.76 MB, free: 1.863 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.001418/0.001418, allocations: 158.2 kB / 23.01 MB, free: 4.613 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.06226/0.06226, allocations: 7.13 MB / 266.9 MB, free: 9.711 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.CounterSpin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CounterSpin") translateModel(PlanarMechanics.Examples.CounterSpin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CounterSpin") [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 68.12 kB / 393.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1117, allocations: 55.46 MB / 448.8 MB, free: 2.902 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.008803/0.1205, allocations: 6.077 MB / 454.9 MB, free: 12.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005293/0.1258, allocations: 2.281 MB / 457.2 MB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000943/0.1267, allocations: 31.88 kB / 457.2 MB, free: 10.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008826/0.1276, allocations: 298.2 kB / 457.5 MB, free: 10.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.1308, allocations: 1.164 MB / 458.7 MB, free: 9.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.1311, allocations: 87.83 kB / 458.8 MB, free: 8.926 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.1343, allocations: 2.02 MB / 460.8 MB, free: 6.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.1346, allocations: 71.36 kB / 460.8 MB, free: 6.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.1359, allocations: 0.7238 MB / 461.6 MB, free: 6.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.1374, allocations: 1.133 MB / 462.7 MB, free: 4.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.1377, allocations: 188 kB / 462.9 MB, free: 4.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.139, allocations: 0.6631 MB / 463.6 MB, free: 4.105 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009852/0.1399, allocations: 1.028 MB / 464.6 MB, free: 3.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.141, allocations: 0.8769 MB / 465.5 MB, free: 2.191 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005521/0.1465, allocations: 4.342 MB / 469.8 MB, free: 13.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1465, allocations: 0 / 469.8 MB, free: 13.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1465, allocations: 4 kB / 469.8 MB, free: 13.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.592e-05/0.1466, allocations: 0 / 469.8 MB, free: 13.83 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 981 * Number of variables: 981 Notification: Performance of Generate backend data structure: time 0.009074/0.1557, allocations: 3.615 MB / 473.4 MB, free: 10.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1557, allocations: 12.62 kB / 473.4 MB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/0.1624, allocations: 1.762 MB / 475.2 MB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.1647, allocations: 1.117 MB / 476.3 MB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.1648, allocations: 111.1 kB / 476.4 MB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003193/0.1651, allocations: 148.2 kB / 476.6 MB, free: 6.988 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2091/0.3742, allocations: 7.036 MB / 483.6 MB, free: 67.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.599e-05/0.3743, allocations: 15.25 kB / 483.6 MB, free: 67.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005422/0.3748, allocations: 74.44 kB / 483.7 MB, free: 67.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00262/0.3775, allocations: 1.725 MB / 485.4 MB, free: 67.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.3879, allocations: 6.392 MB / 491.8 MB, free: 65.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02006/0.4079, allocations: 18.84 MB / 0.4987 GB, free: 53.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.4113, allocations: 1.46 MB / 0.5001 GB, free: 52.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/0.412, allocations: 0.5516 MB / 0.5006 GB, free: 52.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003403/0.4154, allocations: 1.999 MB / 0.5026 GB, free: 51.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.4154, allocations: 42.56 kB / 0.5026 GB, free: 51.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=93): time 2.875e-06/0.4154, allocations: 0 / 0.5026 GB, free: 51.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=93): time 0.00372/0.4191, allocations: 1.836 MB / 0.5044 GB, free: 51.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.4192, allocations: 58.22 kB / 0.5045 GB, free: 50.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.4217, allocations: 1.912 MB / 0.5063 GB, free: 50.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.4217, allocations: 36.8 kB / 0.5064 GB, free: 50.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009501/0.4227, allocations: 1.926 MB / 0.5083 GB, free: 48.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.4229, allocations: 382.6 kB / 0.5086 GB, free: 48.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008458/0.4238, allocations: 0.6588 MB / 0.5093 GB, free: 48.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.536e-05/0.4238, allocations: 335.9 kB / 0.5096 GB, free: 47.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.4255, allocations: 0.9919 MB / 0.5106 GB, free: 47.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.4279, allocations: 2.906 MB / 0.5134 GB, free: 44.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/0.4319, allocations: 4.177 MB / 0.5175 GB, free: 41.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.072e-05/0.432, allocations: 18.66 kB / 0.5175 GB, free: 41.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.005675/0.4376, allocations: 3.793 MB / 0.5212 GB, free: 39.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.4377, allocations: 39.28 kB / 0.5212 GB, free: 39.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-05/0.4378, allocations: 68.12 kB / 0.5213 GB, free: 39.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.4379, allocations: 89.62 kB / 0.5214 GB, free: 39.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/0.4398, allocations: 0.7133 MB / 0.5221 GB, free: 39.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001014/0.4399, allocations: 134.9 kB / 0.5222 GB, free: 39.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/0.4421, allocations: 443.7 kB / 0.5226 GB, free: 39.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/0.4424, allocations: 193.3 kB / 0.5228 GB, free: 39.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 3 (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 (387): * Single equations (assignments): 383 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00199/0.4443, allocations: 1.391 MB / 0.5242 GB, free: 38.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.4446, allocations: 155.9 kB / 0.5243 GB, free: 38.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.4464, allocations: 1.154 MB / 0.5255 GB, free: 37.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.561e-05/0.4465, allocations: 21.88 kB / 0.5255 GB, free: 37.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4465, allocations: 1.156 kB / 0.5255 GB, free: 37.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.4465, allocations: 3.141 kB / 0.5255 GB, free: 37.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/0.4518, allocations: 3.068 MB / 0.5285 GB, free: 36.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.4518, allocations: 2.156 kB / 0.5285 GB, free: 36.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/0.4524, allocations: 134.9 kB / 0.5286 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.4524, allocations: 5.641 kB / 0.5286 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.4525, allocations: 21.88 kB / 0.5286 GB, free: 36.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.4525, allocations: 13.72 kB / 0.5286 GB, free: 36.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4525, allocations: 8.734 kB / 0.5287 GB, free: 36.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.4553, allocations: 1.906 MB / 0.5305 GB, free: 35.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.4556, allocations: 159.4 kB / 0.5307 GB, free: 35.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.4558, allocations: 15.86 kB / 0.5307 GB, free: 35.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/0.4563, allocations: 43.25 kB / 0.5307 GB, free: 35.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.4565, allocations: 43.75 kB / 0.5308 GB, free: 35.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/0.4565, allocations: 30.06 kB / 0.5308 GB, free: 35.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001836/0.4584, allocations: 1.121 MB / 0.5319 GB, free: 35.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4584, allocations: 0 / 0.5319 GB, free: 35.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002939/0.4613, allocations: 0.7384 MB / 0.5326 GB, free: 34.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (body.v[1],body.w,slipBasedRolling.frame_a.x,slipBasedRolling.phi) * 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 (69): * Single equations (assignments): 65 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002841/0.4616, allocations: 153.3 kB / 0.5328 GB, free: 34.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003546/0.4652, allocations: 2.147 MB / 0.5349 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4652, allocations: 0 / 0.5349 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006222/0.4658, allocations: 497.9 kB / 0.5353 GB, free: 33.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4668, allocations: 209.3 kB / 0.5355 GB, free: 33.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/0.4741, allocations: 5.26 MB / 0.5407 GB, free: 30.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/0.4762, allocations: 1.714 MB / 0.5423 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002183/0.4784, allocations: 0.9482 MB / 0.5433 GB, free: 28.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.4786, allocations: 119.8 kB / 0.5434 GB, free: 28.51 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4786, allocations: 0 / 0.5434 GB, free: 28.51 MB / 446.1 MB Notification: Performance of Templates: time 0.02577/0.5044, allocations: 14.61 MB / 0.5576 GB, free: 16.54 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CounterSpin.sim & ./PlanarMechanics_PlanarMechanics.Examples.CounterSpin -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.321946647018194] Failed to read output from testmodel.py, exit status != 0: 0.5129675749922171 0.5218390230000001 0.37298273200000004 Calling exit ...