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.001311/0.001311, allocations: 80.28 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.001578/0.001578, allocations: 164.1 kB / 22.46 MB, free: 5.355 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.04828/0.04828, allocations: 7.112 MB / 266.3 MB, free: 9.766 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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 392.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.868e-05, allocations: 6.219 kB / 392.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.007809/0.007837, allocations: 6.085 MB / 399 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004594/0.01243, allocations: 2.3 MB / 401.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005693/0.013, allocations: 31.94 kB / 401.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.01375, allocations: 306 kB / 401.6 MB, free: 460 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.01637, allocations: 1.194 MB / 402.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.01663, allocations: 91.77 kB / 402.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.01918, allocations: 2.061 MB / 404.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.01944, allocations: 75.36 kB / 405 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.02091, allocations: 1.083 MB / 406.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.02244, allocations: 1.103 MB / 407.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000286/0.02273, allocations: 188 kB / 407.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.02405, allocations: 0.7254 MB / 408.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.02507, allocations: 1.052 MB / 409.2 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008312/0.0259, allocations: 0.6501 MB / 409.8 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005233/0.03114, allocations: 4.334 MB / 414.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.03114, allocations: 4 kB / 414.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03114, allocations: 0 / 414.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.462e-05/0.03123, allocations: 3.938 kB / 414.1 MB, free: 3.852 MB / 334.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.009244/0.04047, allocations: 3.584 MB / 417.7 MB, free: 228 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.04052, allocations: 12.62 kB / 417.7 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007192/0.04771, allocations: 1.766 MB / 419.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.05014, allocations: 1.116 MB / 420.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.05025, allocations: 111.1 kB / 420.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/0.05062, allocations: 152.2 kB / 420.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.06187, allocations: 7.027 MB / 427.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-05/0.06193, allocations: 16.06 kB / 427.9 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/0.06219, allocations: 72.25 kB / 428 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003183/0.06537, allocations: 1.73 MB / 429.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/0.07764, allocations: 6.4 MB / 436.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1915/0.2691, allocations: 18.81 MB / 454.9 MB, free: 49.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/0.2732, allocations: 1.449 MB / 456.4 MB, free: 49.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008984/0.2741, allocations: 0.5525 MB / 456.9 MB, free: 49.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003843/0.2779, allocations: 1.999 MB / 458.9 MB, free: 48.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.278, allocations: 38.12 kB / 459 MB, free: 48.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=93): time 2.645e-06/0.278, allocations: 2.078 kB / 459 MB, free: 48.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.004045/0.282, allocations: 1.841 MB / 460.8 MB, free: 48.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.282, allocations: 59.58 kB / 460.9 MB, free: 48.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.2845, allocations: 1.909 MB / 462.8 MB, free: 47.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.2845, allocations: 36.36 kB / 462.8 MB, free: 47.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007604/0.2853, allocations: 1.903 MB / 464.7 MB, free: 45.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.2855, allocations: 382.6 kB / 465.1 MB, free: 45.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007374/0.2862, allocations: 0.6465 MB / 465.7 MB, free: 45.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.2863, allocations: 332.4 kB / 466.1 MB, free: 45.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.2877, allocations: 0.9961 MB / 467.1 MB, free: 44.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.2897, allocations: 2.904 MB / 470 MB, free: 41.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/0.2929, allocations: 4.177 MB / 474.1 MB, free: 38.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.629e-05/0.2929, allocations: 18.75 kB / 474.2 MB, free: 38.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.004919/0.2978, allocations: 3.787 MB / 477.9 MB, free: 36.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.2979, allocations: 35.88 kB / 478 MB, free: 36.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-05/0.298, allocations: 69.02 kB / 478 MB, free: 36.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.421e-05/0.298, allocations: 89.44 kB / 478.1 MB, free: 36.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.2998, allocations: 0.7135 MB / 478.8 MB, free: 36.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-05/0.2999, allocations: 131.1 kB / 479 MB, free: 36.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.3019, allocations: 450.6 kB / 479.4 MB, free: 36.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.3021, allocations: 198.4 kB / 479.6 MB, free: 36.46 MB / 366.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.001614/0.3037, allocations: 1.39 MB / 481 MB, free: 35.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.3039, allocations: 158.9 kB / 481.2 MB, free: 35.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.3055, allocations: 1.159 MB / 482.3 MB, free: 34.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.06e-05/0.3055, allocations: 23.45 kB / 482.3 MB, free: 34.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3055, allocations: 0 / 482.3 MB, free: 34.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.3056, allocations: 3.422 kB / 482.3 MB, free: 34.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004596/0.3102, allocations: 3.071 MB / 485.4 MB, free: 31.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.3102, allocations: 0 / 485.4 MB, free: 31.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.3107, allocations: 131.8 kB / 485.5 MB, free: 31.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.3107, allocations: 8 kB / 485.5 MB, free: 31.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/0.3108, allocations: 23.92 kB / 485.6 MB, free: 31.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.3108, allocations: 4 kB / 485.6 MB, free: 31.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3108, allocations: 7.938 kB / 485.6 MB, free: 31.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.3128, allocations: 1.904 MB / 487.5 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.313, allocations: 159.2 kB / 487.6 MB, free: 28.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.3132, allocations: 18.91 kB / 487.7 MB, free: 28.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.3137, allocations: 35.97 kB / 487.7 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/0.3138, allocations: 49.97 kB / 487.7 MB, free: 28.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.3139, allocations: 31.94 kB / 487.8 MB, free: 28.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001162/0.315, allocations: 1.126 MB / 488.9 MB, free: 27.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.315, allocations: 0 / 488.9 MB, free: 27.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002497/0.3175, allocations: 0.7329 MB / 489.6 MB, free: 26.95 MB / 366.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.0003225/0.3178, allocations: 155.5 kB / 489.8 MB, free: 26.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00269/0.3205, allocations: 2.151 MB / 491.9 MB, free: 24.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3205, allocations: 0.625 kB / 491.9 MB, free: 24.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.3211, allocations: 499 kB / 492.4 MB, free: 24.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009812/0.3221, allocations: 210 kB / 492.6 MB, free: 23.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00647/0.3285, allocations: 5.134 MB / 497.8 MB, free: 18.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.3302, allocations: 1.713 MB / 499.5 MB, free: 17.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001695/0.3319, allocations: 0.9355 MB / 0.4887 GB, free: 16.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.3321, allocations: 124.5 kB / 0.4888 GB, free: 16 MB / 366.1 MB Notification: Performance of SimCode: time 1.021e-06/0.3321, allocations: 0 / 0.4888 GB, free: 16 MB / 366.1 MB Notification: Performance of Templates: time 0.02375/0.3559, allocations: 14.58 MB / 0.503 GB, free: 1.68 MB / 366.1 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: 4.966424077749252] Failed to read output from testmodel.py, exit status != 0: 0.364365067332983 0.379679152 0.345329896 Calling exit ...