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.0007617/0.0007617, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008091/0.0008091, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8474/0.8474, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 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.02679/0.02679, allocations: 7.116 MB / 267.1 MB, free: 6.316 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 393.6 MB, free: 3.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.073e-05, allocations: 2.281 kB / 393.6 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.004901/0.004922, allocations: 6.081 MB / 399.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.007595, allocations: 2.296 MB / 402 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.007898, allocations: 27.94 kB / 402 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.008432, allocations: 310 kB / 402.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.00982, allocations: 1.194 MB / 403.5 MB, free: 9.547 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.009955, allocations: 87.77 kB / 403.6 MB, free: 9.461 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.01112, allocations: 2.057 MB / 405.7 MB, free: 7.398 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.01129, allocations: 75.3 kB / 405.8 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007473/0.01203, allocations: 1.087 MB / 406.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007784/0.01281, allocations: 1.103 MB / 407.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.01297, allocations: 188 kB / 408.1 MB, free: 4.938 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006519/0.01362, allocations: 0.7254 MB / 408.9 MB, free: 4.211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007712/0.01439, allocations: 1.055 MB / 409.9 MB, free: 3.152 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.01479, allocations: 0.65 MB / 410.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1462/0.161, allocations: 4.332 MB / 414.9 MB, free: 18.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.161, allocations: 0 / 414.9 MB, free: 18.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.161, allocations: 2.234 kB / 414.9 MB, free: 18.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.499e-05/0.1611, allocations: 0 / 414.9 MB, free: 18.89 MB / 330.7 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.004818/0.1659, allocations: 3.584 MB / 418.5 MB, free: 17.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1659, allocations: 9.531 kB / 418.5 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/0.1694, allocations: 1.738 MB / 420.2 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.1707, allocations: 1.114 MB / 421.3 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.1707, allocations: 114.9 kB / 421.5 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.171, allocations: 147 kB / 421.6 MB, free: 17.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005712/0.1767, allocations: 7.06 MB / 428.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.1767, allocations: 15.72 kB / 428.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.1769, allocations: 73.91 kB / 428.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00152/0.1784, allocations: 1.728 MB / 430.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005589/0.184, allocations: 6.471 MB / 436.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.1956, allocations: 18.84 MB / 455.8 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.1978, allocations: 1.471 MB / 457.3 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/0.1983, allocations: 0.5582 MB / 457.8 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002212/0.2005, allocations: 1.989 MB / 459.8 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.2006, allocations: 43.22 kB / 459.8 MB, free: 5.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=93): time 2.665e-06/0.2006, allocations: 4 kB / 459.8 MB, free: 5.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=93): time 0.00236/0.2029, allocations: 1.86 MB / 461.7 MB, free: 3.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.203, allocations: 57 kB / 461.8 MB, free: 3.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.2045, allocations: 1.909 MB / 463.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.2045, allocations: 37.7 kB / 463.7 MB, free: 1.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007415/0.2052, allocations: 1.906 MB / 465.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.2054, allocations: 387.1 kB / 466 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005191/0.2059, allocations: 0.6434 MB / 466.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.694e-05/0.206, allocations: 337.7 kB / 467 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000996/0.207, allocations: 1.008 MB / 468 MB, free: 13.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.2088, allocations: 2.906 MB / 470.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/0.2117, allocations: 4.196 MB / 475.1 MB, free: 4.613 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/0.2118, allocations: 20 kB / 475.1 MB, free: 4.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.003519/0.2153, allocations: 3.814 MB / 478.9 MB, free: 0.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.2153, allocations: 36 kB / 478.9 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.331e-05/0.2154, allocations: 64 kB / 479 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.617e-05/0.2154, allocations: 92 kB / 479.1 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.2165, allocations: 0.7097 MB / 479.8 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.839e-05/0.2166, allocations: 131.5 kB / 479.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.2176, allocations: 444.7 kB / 480.4 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.2178, allocations: 203.8 kB / 480.6 MB, free: 15.13 MB / 378.7 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.001216/0.219, allocations: 1.393 MB / 482 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.2191, allocations: 155 kB / 482.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.2202, allocations: 1.163 MB / 483.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-05/0.2203, allocations: 26.94 kB / 483.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2203, allocations: 0 / 483.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2203, allocations: 3.938 kB / 483.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.2234, allocations: 3.081 MB / 486.4 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2234, allocations: 4 kB / 486.4 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.2237, allocations: 139.8 kB / 486.5 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.2237, allocations: 7.719 kB / 486.5 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.2238, allocations: 20.66 kB / 486.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2238, allocations: 7.984 kB / 486.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2238, allocations: 7.938 kB / 486.6 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.2254, allocations: 1.934 MB / 488.5 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.2256, allocations: 166.8 kB / 488.7 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.2257, allocations: 16 kB / 488.7 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.2259, allocations: 31.97 kB / 488.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.226, allocations: 56.34 kB / 488.8 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.226, allocations: 28 kB / 488.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000955/0.227, allocations: 1.122 MB / 489.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.227, allocations: 0 / 489.9 MB, free: 5.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001488/0.2285, allocations: 0.7218 MB / 490.6 MB, free: 4.938 MB / 378.7 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.0002571/0.2287, allocations: 171.8 kB / 490.8 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.2306, allocations: 2.163 MB / 493 MB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2306, allocations: 0 / 493 MB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.2311, allocations: 495 kB / 493.5 MB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.2316, allocations: 211.7 kB / 493.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/0.2373, allocations: 5.481 MB / 499.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.2387, allocations: 1.718 MB / 0.4891 GB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.239, allocations: 156.5 kB / 0.4893 GB, free: 10.49 MB / 394.7 MB Notification: Performance of SimCode: time 7.72e-07/0.239, allocations: 0 / 0.4893 GB, free: 10.49 MB / 394.7 MB Notification: Performance of Templates: time 0.02556/0.2645, allocations: 32.8 MB / 0.5213 GB, free: 9.832 MB / 426.7 MB " [Timeout remaining time 660] 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.75354119297117] Failed to read output from testmodel.py, exit status != 0: 0.26996047142893076 0.27711391700000004 0.114578785 Calling exit ...