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.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.00131/0.00131, allocations: 113.5 kB / 16.41 MB, free: 6.484 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.0014/0.0014, allocations: 194.8 kB / 19.36 MB, free: 3.75 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.424/1.424, 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.06418/0.06418, allocations: 9.135 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.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: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.89 kB / 423.3 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1059, allocations: 51.45 MB / 474.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.008595/0.1145, allocations: 6.844 MB / 481.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005046/0.1196, allocations: 2.355 MB / 484 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009068/0.1206, allocations: 27.94 kB / 484 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000739/0.1213, allocations: 294.2 kB / 484.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.1243, allocations: 1.132 MB / 485.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.1246, allocations: 79.81 kB / 485.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002964/0.1276, allocations: 2.036 MB / 487.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.128, allocations: 175.1 kB / 487.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.1292, allocations: 0.7042 MB / 488.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.1308, allocations: 1.07 MB / 489.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003641/0.1311, allocations: 188 kB / 489.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.1326, allocations: 0.745 MB / 490.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.1338, allocations: 1.017 MB / 491.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.1354, allocations: 1.289 MB / 492.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005926/0.1414, allocations: 4.362 MB / 497.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1414, allocations: 0 / 497.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1414, allocations: 0 / 497.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001251/0.1416, allocations: 3.938 kB / 497.1 MB, free: 10.14 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: 981 * Number of variables: 981 Notification: Performance of Generate backend data structure: time 0.008725/0.1503, allocations: 3.663 MB / 0.489 GB, free: 6.418 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1503, allocations: 8.031 kB / 0.489 GB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006811/0.1572, allocations: 1.715 MB / 0.4907 GB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002399/0.1596, allocations: 1.166 MB / 0.4918 GB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.1597, allocations: 111.1 kB / 0.492 GB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004137/0.1602, allocations: 148.2 kB / 0.4921 GB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.1728, allocations: 7.062 MB / 0.499 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.488e-05/0.1729, allocations: 15.88 kB / 0.499 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006116/0.1735, allocations: 71.88 kB / 0.4991 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003234/0.1768, allocations: 1.722 MB / 0.5008 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.1912, allocations: 6.474 MB / 0.5071 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2528/0.444, allocations: 20.92 MB / 0.5275 GB, free: 28.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/0.4477, allocations: 1.943 MB / 0.5294 GB, free: 27.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008335/0.4486, allocations: 0.5938 MB / 0.53 GB, free: 27.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003785/0.4524, allocations: 3.362 MB / 0.5333 GB, free: 25.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.4524, allocations: 38.69 kB / 0.5333 GB, free: 25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=93): time 3.607e-06/0.4524, allocations: 0 / 0.5333 GB, free: 25 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.003855/0.4563, allocations: 1.817 MB / 0.5351 GB, free: 24.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.4563, allocations: 65.69 kB / 0.5351 GB, free: 24.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/0.4591, allocations: 2.192 MB / 0.5373 GB, free: 23.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.4592, allocations: 42.17 kB / 0.5373 GB, free: 23.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008831/0.4601, allocations: 1.892 MB / 0.5392 GB, free: 22.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.4603, allocations: 391.8 kB / 0.5395 GB, free: 21.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006063/0.4609, allocations: 0.6426 MB / 0.5402 GB, free: 21.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.461, allocations: 310 kB / 0.5405 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.4622, allocations: 1 MB / 0.5414 GB, free: 20.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.4642, allocations: 2.907 MB / 0.5443 GB, free: 17.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/0.4678, allocations: 4.183 MB / 0.5484 GB, free: 13.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/0.4679, allocations: 21.56 kB / 0.5484 GB, free: 13.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.004918/0.4728, allocations: 3.837 MB / 0.5521 GB, free: 11.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.4728, allocations: 32 kB / 0.5522 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-05/0.4729, allocations: 72.12 kB / 0.5522 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.245e-05/0.473, allocations: 88 kB / 0.5523 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.4747, allocations: 0.7096 MB / 0.553 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.089e-05/0.4748, allocations: 135.4 kB / 0.5531 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/0.4769, allocations: 480.4 kB / 0.5536 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.4771, allocations: 200 kB / 0.5538 GB, free: 9.738 MB / 382.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.001594/0.4787, allocations: 1.395 MB / 0.5551 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.4789, allocations: 178.8 kB / 0.5553 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.4805, allocations: 1.196 MB / 0.5565 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-05/0.4806, allocations: 19.98 kB / 0.5565 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4806, allocations: 3.938 kB / 0.5565 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4806, allocations: 3.984 kB / 0.5565 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005716/0.4863, allocations: 3.946 MB / 0.5604 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.4864, allocations: 7.297 kB / 0.5604 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.4869, allocations: 131.8 kB / 0.5605 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.4869, allocations: 4 kB / 0.5605 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.487, allocations: 19.98 kB / 0.5605 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.487, allocations: 7.938 kB / 0.5605 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.487, allocations: 4 kB / 0.5605 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.4891, allocations: 1.971 MB / 0.5625 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/0.4895, allocations: 271.7 kB / 0.5627 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.4897, allocations: 12 kB / 0.5627 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/0.4902, allocations: 39.78 kB / 0.5628 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.4903, allocations: 48.5 kB / 0.5628 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.4904, allocations: 31.94 kB / 0.5628 GB, free: 328 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00198/0.4924, allocations: 1.416 MB / 0.5642 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4924, allocations: 0 / 0.5642 GB, free: 14.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00255/0.4949, allocations: 0.7127 MB / 0.5649 GB, free: 14.2 MB / 398.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.0003451/0.4953, allocations: 153.6 kB / 0.5651 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003768/0.4991, allocations: 2.266 MB / 0.5673 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4991, allocations: 0 / 0.5673 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.4999, allocations: 0.5266 MB / 0.5678 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.5014, allocations: 313.8 kB / 0.5681 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009064/0.5104, allocations: 5.35 MB / 0.5733 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.5129, allocations: 2.289 MB / 0.5756 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002498/0.5154, allocations: 0.9728 MB / 0.5765 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.5158, allocations: 135.4 kB / 0.5766 GB, free: 2.156 MB / 398.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5158, allocations: 0 / 0.5766 GB, free: 2.156 MB / 398.1 MB Notification: Performance of Templates: time 0.03771/0.5535, allocations: 18.31 MB / 0.5945 GB, free: 15.96 MB / 430.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 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.577257044613361]