Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.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.001387/0.001387, allocations: 97.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009752/0.0009752, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.026/1.026, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.02959/0.02959, allocations: 7.179 MB / 267.1 MB, free: 6.059 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") translateModel(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.041e-05, allocations: 4.984 kB / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.005244/0.005264, allocations: 8.073 MB / 346.9 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.008357, allocations: 2.671 MB / 349.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003974/0.008755, allocations: 31.94 kB / 349.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005927/0.009347, allocations: 365.5 kB / 350 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.01104, allocations: 1.322 MB / 351.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.01137, allocations: 263.5 kB / 351.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.01355, allocations: 2.502 MB / 354.1 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.01462, allocations: 0.9479 MB / 355 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.01601, allocations: 1.383 MB / 356.4 MB, free: 8.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.01744, allocations: 1.329 MB / 357.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.01776, allocations: 248 kB / 358 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009412/0.0187, allocations: 0.7528 MB / 358.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008924/0.01959, allocations: 1.262 MB / 360 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007935/0.02039, allocations: 0.8372 MB / 360.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.0234, allocations: 3.238 MB / 364.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.0234, allocations: 0 / 364.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.0234, allocations: 0 / 364.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.133e-05/0.02345, allocations: 0 / 364.1 MB, free: 0.8789 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1112 * Number of variables: 1112 Notification: Performance of Generate backend data structure: time 0.005336/0.02878, allocations: 3.902 MB / 368 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.02882, allocations: 8.625 kB / 368 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005361/0.03418, allocations: 2.199 MB / 370.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.03588, allocations: 1.251 MB / 371.4 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.036, allocations: 156.2 kB / 371.6 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.03632, allocations: 204.2 kB / 371.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00566/0.04199, allocations: 3.786 MB / 375.6 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/0.04204, allocations: 20.06 kB / 375.6 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.04228, allocations: 95.83 kB / 375.7 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002202/0.04449, allocations: 1.708 MB / 377.4 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00534/0.04982, allocations: 2.159 MB / 379.5 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/0.06868, allocations: 23.51 MB / 403 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.07015, allocations: 0.7804 MB / 403.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.07052, allocations: 270 kB / 404.1 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002065/0.07259, allocations: 1.803 MB / 405.9 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.07261, allocations: 46.39 kB / 405.9 MB, free: 5.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 2.505e-06/0.07262, allocations: 0 / 405.9 MB, free: 5.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.003506/0.07612, allocations: 2.491 MB / 408.4 MB, free: 3.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.07615, allocations: 68.34 kB / 408.5 MB, free: 3.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.07794, allocations: 1.813 MB / 410.3 MB, free: 1.367 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.07799, allocations: 41.7 kB / 410.3 MB, free: 1.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1279/0.2059, allocations: 2.185 MB / 412.5 MB, free: 71.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005379/0.2064, allocations: 0.5463 MB / 413.1 MB, free: 71.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008054/0.2072, allocations: 0.7939 MB / 413.9 MB, free: 70.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.2073, allocations: 0.5142 MB / 414.4 MB, free: 70.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/0.208, allocations: 394.8 kB / 414.8 MB, free: 70.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.2093, allocations: 3.428 MB / 418.2 MB, free: 66.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/0.2121, allocations: 4.303 MB / 422.5 MB, free: 62.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.707e-05/0.2122, allocations: 21.47 kB / 422.5 MB, free: 62.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=482) (initialization): time 0.004071/0.2162, allocations: 3.079 MB / 425.6 MB, free: 61.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.2163, allocations: 39.55 kB / 425.6 MB, free: 61.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.57e-05/0.2163, allocations: 74.84 kB / 425.7 MB, free: 61.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/0.2168, allocations: 200.7 kB / 425.9 MB, free: 61.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.2181, allocations: 0.8179 MB / 426.7 MB, free: 61.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.2197, allocations: 2.686 MB / 429.4 MB, free: 59.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.2209, allocations: 188 kB / 429.6 MB, free: 59.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.2211, allocations: 216.3 kB / 429.8 MB, free: 59.8 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: revolute.w:VARIABLE(start = -5.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.always ) \"Angular velocity\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * Number of states: 0 () * Number of discrete variables: 9 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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 (445): * Single equations (assignments): 440 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007408/0.2218, allocations: 451.8 kB / 430.2 MB, free: 59.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.222, allocations: 220.2 kB / 430.5 MB, free: 59.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.2232, allocations: 0.92 MB / 431.4 MB, free: 59.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-05/0.2232, allocations: 25.58 kB / 431.4 MB, free: 59.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2232, allocations: 4 kB / 431.4 MB, free: 59.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2232, allocations: 3.797 kB / 431.4 MB, free: 59.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.2271, allocations: 3.585 MB / 435 MB, free: 57.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.2271, allocations: 4 kB / 435 MB, free: 57.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.2276, allocations: 193.4 kB / 435.2 MB, free: 57.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.2278, allocations: 86.53 kB / 435.3 MB, free: 57.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.2278, allocations: 31.59 kB / 435.3 MB, free: 57.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.2289, allocations: 2.372 MB / 437.7 MB, free: 54.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2289, allocations: 7.938 kB / 437.7 MB, free: 54.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.2302, allocations: 1.414 MB / 439.1 MB, free: 53.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.2305, allocations: 292.9 kB / 439.4 MB, free: 53.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.2306, allocations: 22.91 kB / 439.4 MB, free: 53.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.2309, allocations: 56.55 kB / 439.5 MB, free: 53.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2311, allocations: 82.39 kB / 439.5 MB, free: 53.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.2311, allocations: 40 kB / 439.6 MB, free: 53.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007522/0.2319, allocations: 0.8094 MB / 440.4 MB, free: 52.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2319, allocations: 0 / 440.4 MB, free: 52.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001535/0.2334, allocations: 0.6181 MB / 441 MB, free: 51.86 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (revolute.phi,revolute.w) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002264/0.2336, allocations: 155.2 kB / 441.2 MB, free: 51.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.2355, allocations: 1.846 MB / 443 MB, free: 50.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2355, allocations: 4 kB / 443 MB, free: 50.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.2359, allocations: 0.5751 MB / 443.6 MB, free: 49.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007175/0.2366, allocations: 302.5 kB / 443.9 MB, free: 49.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.2415, allocations: 5.034 MB / 448.9 MB, free: 44.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.242, allocations: 0.8533 MB / 449.8 MB, free: 43.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001106/0.2431, allocations: 0.9158 MB / 450.7 MB, free: 43.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.2433, allocations: 144.5 kB / 450.8 MB, free: 43.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2433, allocations: 0 / 450.8 MB, free: 43.05 MB / 330.7 MB Notification: Performance of Templates: time 0.0242/0.2675, allocations: 20.33 MB / 471.2 MB, free: 23.02 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.310613782145083]