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.0009566/0.0009566, allocations: 93.06 kB / 19.65 MB, free: 280 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.001007/0.001007, allocations: 169 kB / 23.02 MB, free: 1.551 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.9492/0.9492, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.03326/0.03326, allocations: 7.179 MB / 267.1 MB, free: 6.074 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 1.132e-06/1.132e-06, allocations: 0 / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.105e-05, allocations: 5.922 kB / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.005105/0.005126, allocations: 8.065 MB / 346.9 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.008785, allocations: 2.679 MB / 349.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.009301, allocations: 31.94 kB / 349.6 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006297/0.009931, allocations: 369.5 kB / 350 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.01164, allocations: 1.31 MB / 351.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.012, allocations: 263.4 kB / 351.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.01365, allocations: 2.506 MB / 354.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008143/0.01446, allocations: 0.9479 MB / 355 MB, free: 9.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.01553, allocations: 1.372 MB / 356.4 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.01661, allocations: 1.336 MB / 357.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.01682, allocations: 252 kB / 358 MB, free: 7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007752/0.01759, allocations: 0.745 MB / 358.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006494/0.01824, allocations: 1.262 MB / 360 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.01881, allocations: 0.8372 MB / 360.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.02116, allocations: 3.234 MB / 364 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.02117, allocations: 0 / 364 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.02117, allocations: 0 / 364 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.783e-05/0.0212, allocations: 0 / 364 MB, free: 0.9023 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.004288/0.02548, allocations: 3.902 MB / 368 MB, free: 12.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.02552, allocations: 8.625 kB / 368 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003783/0.02931, allocations: 2.191 MB / 370.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.03078, allocations: 1.213 MB / 371.4 MB, free: 9.492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.163e-05/0.03087, allocations: 156.2 kB / 371.5 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.03111, allocations: 204.2 kB / 371.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/0.03526, allocations: 3.782 MB / 375.5 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.482e-05/0.0353, allocations: 16.06 kB / 375.5 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.03548, allocations: 95.83 kB / 375.6 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001511/0.03699, allocations: 1.711 MB / 377.3 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004867/0.04186, allocations: 2.151 MB / 379.5 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02231/0.06416, allocations: 23.52 MB / 403 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.06622, allocations: 0.783 MB / 403.8 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.06674, allocations: 267.7 kB / 404 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003228/0.06997, allocations: 1.799 MB / 405.8 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.07, allocations: 46.39 kB / 405.9 MB, free: 5.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 3.537e-06/0.07001, allocations: 0 / 405.9 MB, free: 5.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=137): time 0.005113/0.07512, allocations: 2.484 MB / 408.4 MB, free: 3.359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.07517, allocations: 72.34 kB / 408.4 MB, free: 3.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.07737, allocations: 1.82 MB / 410.2 MB, free: 1.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/0.07743, allocations: 45.64 kB / 410.3 MB, free: 1.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1243/0.2017, allocations: 2.186 MB / 412.5 MB, free: 71.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005267/0.2022, allocations: 0.5467 MB / 413 MB, free: 71.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008545/0.2031, allocations: 0.7894 MB / 413.8 MB, free: 70.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.2032, allocations: 0.5118 MB / 414.3 MB, free: 70.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007549/0.2039, allocations: 402.6 kB / 414.7 MB, free: 70.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.2053, allocations: 3.41 MB / 418.1 MB, free: 66.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.2078, allocations: 4.295 MB / 422.4 MB, free: 62.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.003e-05/0.2078, allocations: 20.62 kB / 422.4 MB, free: 62.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.00392/0.2117, allocations: 3.075 MB / 425.5 MB, free: 61.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.2118, allocations: 35.94 kB / 425.6 MB, free: 61.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.054e-05/0.2118, allocations: 74.19 kB / 425.6 MB, free: 61.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/0.2123, allocations: 193.5 kB / 425.8 MB, free: 61.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.2136, allocations: 0.8184 MB / 426.6 MB, free: 61.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.2152, allocations: 2.689 MB / 429.3 MB, free: 59.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.2165, allocations: 183 kB / 429.5 MB, free: 59.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.2167, allocations: 222.3 kB / 429.7 MB, free: 59.82 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: 328 * 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 (444): * Single equations (assignments): 439 * 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.0007776/0.2174, allocations: 445.7 kB / 430.2 MB, free: 59.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.2176, allocations: 218.7 kB / 430.4 MB, free: 59.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.2188, allocations: 0.9268 MB / 431.3 MB, free: 59.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.289e-05/0.2188, allocations: 25.52 kB / 431.3 MB, free: 59.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2188, allocations: 3.719 kB / 431.3 MB, free: 59.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/0.2188, allocations: 7.453 kB / 431.3 MB, free: 59.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.2229, allocations: 3.556 MB / 434.9 MB, free: 57.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.2229, allocations: 5.359 kB / 434.9 MB, free: 57.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.2232, allocations: 187.7 kB / 435.1 MB, free: 57.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002087/0.2234, allocations: 90.08 kB / 435.2 MB, free: 57.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.2235, allocations: 27.94 kB / 435.2 MB, free: 57.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/0.2245, allocations: 2.368 MB / 437.6 MB, free: 55.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2245, allocations: 11.97 kB / 437.6 MB, free: 55.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.226, allocations: 1.408 MB / 439 MB, free: 53.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/0.2264, allocations: 297 kB / 439.3 MB, free: 53.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.2265, allocations: 27.61 kB / 439.3 MB, free: 53.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.2268, allocations: 63.06 kB / 439.4 MB, free: 53.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.2269, allocations: 74.64 kB / 439.4 MB, free: 53.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.227, allocations: 43.94 kB / 439.5 MB, free: 53.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007376/0.2277, allocations: 0.8072 MB / 440.3 MB, free: 52.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2277, allocations: 0 / 440.3 MB, free: 52.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002013/0.2297, allocations: 0.6125 MB / 440.9 MB, free: 51.96 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.0002694/0.23, allocations: 161.9 kB / 441.1 MB, free: 51.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.2322, allocations: 1.834 MB / 442.9 MB, free: 50.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.2322, allocations: 4.062 kB / 442.9 MB, free: 50.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004761/0.2327, allocations: 0.5759 MB / 443.5 MB, free: 49.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.2335, allocations: 305.1 kB / 443.8 MB, free: 49.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005982/0.2394, allocations: 5.026 MB / 448.8 MB, free: 44.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.24, allocations: 0.8524 MB / 449.6 MB, free: 44.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001257/0.2413, allocations: 0.9107 MB / 450.6 MB, free: 43.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.2415, allocations: 144.5 kB / 450.7 MB, free: 43.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2415, allocations: 4 kB / 450.7 MB, free: 43.18 MB / 330.7 MB Notification: Performance of Templates: time 0.02372/0.2652, allocations: 19.48 MB / 470.2 MB, free: 23.98 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.4988186270929873]