Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 105 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 217 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.299/1.299, allocations: 230.4 MB / 256.4 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 67.89 kB / 376.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2132, allocations: 53.32 MB / 429.4 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007199/0.2204, allocations: 6.291 MB / 435.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003998/0.2244, allocations: 2.318 MB / 438 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005552/0.225, allocations: 31.88 kB / 438 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007641/0.2258, allocations: 421.3 kB / 438.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009866/0.2268, allocations: 0.5046 MB / 439 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009629/0.2277, allocations: 499 kB / 439.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.2293, allocations: 1.5 MB / 440.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005998/0.2299, allocations: 380.7 kB / 441.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007336/0.2307, allocations: 0.5643 MB / 441.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.2314, allocations: 0.6612 MB / 442.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.2316, allocations: 128 kB / 442.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.2319, allocations: 187.9 kB / 442.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.2321, allocations: 310.8 kB / 443.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005643/0.2327, allocations: 0.645 MB / 443.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.2343, allocations: 1.658 MB / 445.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2343, allocations: 4 kB / 445.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2343, allocations: 0 / 445.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.2343, allocations: 0 / 445.5 MB, free: 7.426 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002518/0.2369, allocations: 1.604 MB / 447.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2369, allocations: 12.03 kB / 447.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.2371, allocations: 152.3 kB / 447.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/0.2374, allocations: 160 kB / 447.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.2386, allocations: 0.7751 MB / 448.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/0.2386, allocations: 77.94 kB / 448.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.2388, allocations: 107.9 kB / 448.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.2402, allocations: 0.904 MB / 449.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.2403, allocations: 15.95 kB / 449.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.2404, allocations: 36 kB / 449.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.2404, allocations: 24 kB / 449.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.2416, allocations: 0.6441 MB / 450 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.2459, allocations: 3.21 MB / 453.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.2472, allocations: 0.5765 MB / 453.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.2477, allocations: 270.7 kB / 454 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.2477, allocations: 16.66 kB / 454 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006321/0.2484, allocations: 340.4 kB / 454.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.926e-06/0.2484, allocations: 0 / 454.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.005653/0.254, allocations: 3.087 MB / 457.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.2541, allocations: 64.41 kB / 457.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.2552, allocations: 0.943 MB / 458.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/0.2552, allocations: 49.7 kB / 458.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.2556, allocations: 0.5204 MB / 459 MB, free: 9.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.2559, allocations: 360.9 kB / 459.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.2561, allocations: 162.6 kB / 459.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2563, allocations: 349.9 kB / 459.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.2568, allocations: 269.9 kB / 460.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.2574, allocations: 425.4 kB / 460.5 MB, free: 7.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.2586, allocations: 0.7405 MB / 461.3 MB, free: 7.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2586, allocations: 4 kB / 461.3 MB, free: 7.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00177/0.2604, allocations: 1.029 MB / 462.3 MB, free: 6.047 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2604, allocations: 11.94 kB / 462.3 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.2604, allocations: 7.984 kB / 462.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/0.2608, allocations: 141.7 kB / 462.5 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.2615, allocations: 207.8 kB / 462.7 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/0.2652, allocations: 3.989 MB / 466.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.2656, allocations: 24 kB / 466.7 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.2657, allocations: 39.98 kB / 466.7 MB, free: 1.352 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timeTableTorqueInclination.nextTimeEvent,$whenCondition1,timeTableTorqueInclination.nextTimeEventScaled,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004376/0.2661, allocations: 314.6 kB / 467 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.2662, allocations: 107.3 kB / 467.1 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.268, allocations: 0.9557 MB / 468.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.268, allocations: 12.03 kB / 468.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.268, allocations: 4 kB / 468.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.268, allocations: 3.984 kB / 468.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/0.2716, allocations: 2.482 MB / 470.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2716, allocations: 4 kB / 470.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007194/0.2723, allocations: 183.7 kB / 470.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/0.2727, allocations: 122 kB / 470.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.2727, allocations: 24 kB / 470.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.2758, allocations: 3.608 MB / 474.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2758, allocations: 7.938 kB / 474.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.278, allocations: 1.431 MB / 476 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.2783, allocations: 252.2 kB / 476.2 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-05/0.2784, allocations: 24 kB / 476.2 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.2788, allocations: 23.98 kB / 476.3 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.2789, allocations: 68.91 kB / 476.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.788e-05/0.2789, allocations: 43.92 kB / 476.4 MB, free: 7.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007449/0.2797, allocations: 0.663 MB / 477 MB, free: 6.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2797, allocations: 0 / 477 MB, free: 6.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008137/0.2805, allocations: 240 kB / 477.3 MB, free: 6.301 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (vehicle.mass.s,vehicle.mass.v,vehicle.windSpeed.s,vehicle.windSpeed.v,vehicle1.mass.s,vehicle1.mass.v,vehicle1.windSpeed.s,vehicle1.windSpeed.v,trailer.windSpeed.s,trailer.windSpeed.v) * Number of discrete variables: 3 ($whenCondition1,timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of discrete states: 2 (timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (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.003762/0.2843, allocations: 2.323 MB / 479.6 MB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.286, allocations: 1.006 MB / 480.6 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.286, allocations: 0 / 480.6 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009561/0.2869, allocations: 0.6598 MB / 481.3 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008611/0.2878, allocations: 189.5 kB / 481.5 MB, free: 2.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.2993, allocations: 8.757 MB / 490.2 MB, free: 9.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007409/0.3001, allocations: 1.104 MB / 491.3 MB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003642/0.3004, allocations: 123.6 kB / 491.4 MB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.301, allocations: 451.3 kB / 491.9 MB, free: 7.422 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.301, allocations: 0 / 491.9 MB, free: 7.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05586/0.3568, allocations: 21.49 MB / 0.5013 GB, free: 2.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.74, allocations: 11.94 kB / 0.5013 GB, free: 2.07 MB / 414.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.978666002003592]