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.001265/0.001265, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.0015/0.0015, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] 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.04629/0.04629, allocations: 9.246 MB / 322.4 MB, free: 10.07 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.002098/0.002098, allocations: 63.89 kB / 449 MB, free: 14.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.0976, allocations: 55.46 MB / 0.4926 GB, free: 7.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.008574/0.1062, allocations: 6.914 MB / 0.4994 GB, free: 88 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004684/0.1109, allocations: 2.433 MB / 0.5018 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007973/0.1117, allocations: 31.88 kB / 0.5018 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008226/0.1125, allocations: 298.2 kB / 0.5021 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.1153, allocations: 1.171 MB / 0.5032 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.1156, allocations: 83.83 kB / 0.5033 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002642/0.1183, allocations: 2.017 MB / 0.5053 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.1186, allocations: 75.36 kB / 0.5053 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.1197, allocations: 0.7276 MB / 0.5061 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.1215, allocations: 1.16 MB / 0.5072 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000488/0.122, allocations: 188 kB / 0.5074 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.1235, allocations: 0.7879 MB / 0.5081 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.1247, allocations: 1.024 MB / 0.5091 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001803/0.1265, allocations: 1.274 MB / 0.5104 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005332/0.1318, allocations: 4.346 MB / 0.5146 GB, free: 420 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1318, allocations: 4 kB / 0.5146 GB, free: 416 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1318, allocations: 0 / 0.5146 GB, free: 416 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.615e-05/0.1319, allocations: 0 / 0.5146 GB, free: 416 kB / 382.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.1869/0.3188, allocations: 3.584 MB / 0.5181 GB, free: 24.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3188, allocations: 10.02 kB / 0.5181 GB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005753/0.3245, allocations: 1.711 MB / 0.5198 GB, free: 24.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.3267, allocations: 1.119 MB / 0.5209 GB, free: 24.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.613e-05/0.3268, allocations: 107.5 kB / 0.521 GB, free: 24.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/0.3271, allocations: 145.2 kB / 0.5211 GB, free: 24.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.3371, allocations: 7.053 MB / 0.528 GB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.338e-05/0.3372, allocations: 15.16 kB / 0.528 GB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/0.3375, allocations: 76.53 kB / 0.5281 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002783/0.3402, allocations: 1.722 MB / 0.5298 GB, free: 21.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.3519, allocations: 6.467 MB / 0.5361 GB, free: 19.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/0.3759, allocations: 20.87 MB / 0.5565 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/0.3792, allocations: 1.42 MB / 0.5579 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009603/0.3802, allocations: 0.5681 MB / 0.5584 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004682/0.3849, allocations: 2.206 MB / 0.5606 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.3849, allocations: 39.16 kB / 0.5606 GB, free: 12.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 3.046e-06/0.3849, allocations: 0 / 0.5606 GB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.004086/0.389, allocations: 1.82 MB / 0.5624 GB, free: 11.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.3891, allocations: 68.05 kB / 0.5625 GB, free: 10.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/0.3929, allocations: 2.196 MB / 0.5646 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.393, allocations: 37.7 kB / 0.5647 GB, free: 8.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.3945, allocations: 1.899 MB / 0.5665 GB, free: 6.781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/0.395, allocations: 381.1 kB / 0.5669 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009875/0.396, allocations: 0.6473 MB / 0.5675 GB, free: 5.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3961, allocations: 301.1 kB / 0.5678 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.3979, allocations: 1.009 MB / 0.5688 GB, free: 4.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/0.4011, allocations: 2.904 MB / 0.5716 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005148/0.4063, allocations: 4.188 MB / 0.5757 GB, free: 11.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.362e-05/0.4063, allocations: 20 kB / 0.5757 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.006687/0.413, allocations: 3.837 MB / 0.5795 GB, free: 7.613 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.4131, allocations: 41.34 kB / 0.5795 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/0.4132, allocations: 64 kB / 0.5796 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.4133, allocations: 96.72 kB / 0.5797 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/0.4155, allocations: 0.7135 MB / 0.5804 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001192/0.4156, allocations: 135.4 kB / 0.5805 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.4178, allocations: 468.6 kB / 0.5809 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/0.4181, allocations: 200 kB / 0.5811 GB, free: 5.914 MB / 414.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.002059/0.4202, allocations: 1.382 MB / 0.5825 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.4205, allocations: 182.8 kB / 0.5827 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.4227, allocations: 1.205 MB / 0.5838 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/0.4228, allocations: 27.92 kB / 0.5839 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.4228, allocations: 4.547 kB / 0.5839 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4228, allocations: 0 / 0.5839 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007549/0.4304, allocations: 3.911 MB / 0.5877 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.4304, allocations: 6.75 kB / 0.5877 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.431, allocations: 132.5 kB / 0.5878 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.431, allocations: 4 kB / 0.5878 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/0.4311, allocations: 19.98 kB / 0.5878 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.4311, allocations: 7.938 kB / 0.5878 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.4311, allocations: 11.88 kB / 0.5879 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002963/0.434, allocations: 1.964 MB / 0.5898 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.4346, allocations: 196.3 kB / 0.59 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/0.4349, allocations: 20 kB / 0.59 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/0.4355, allocations: 35.95 kB / 0.59 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.4356, allocations: 48.36 kB / 0.5901 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.4356, allocations: 35.97 kB / 0.5901 GB, free: 12.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002429/0.4381, allocations: 1.412 MB / 0.5915 GB, free: 11.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4381, allocations: 7.938 kB / 0.5915 GB, free: 11.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002557/0.4406, allocations: 0.701 MB / 0.5922 GB, free: 10.47 MB / 430.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.0003748/0.441, allocations: 147 kB / 0.5923 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003742/0.4447, allocations: 2.167 MB / 0.5944 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4447, allocations: 0 / 0.5944 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007688/0.4455, allocations: 499.5 kB / 0.5949 GB, free: 7.688 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.447, allocations: 327.3 kB / 0.5952 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009525/0.4565, allocations: 5.678 MB / 0.6008 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002717/0.4592, allocations: 2.289 MB / 0.603 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/0.4598, allocations: 163.4 kB / 0.6031 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4598, allocations: 3.938 kB / 0.6032 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.05128/0.511, allocations: 34.2 MB / 0.6365 GB, free: 13.11 MB / 478.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: 9.564964316086844] Failed to read output from testmodel.py, exit status != 0: 0.5196078880690038 0.5339191120000001 0.39902378600000005 Calling exit ...