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.001733/0.001733, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002227/0.002227, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.002016/0.002016, allocations: 64.55 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2966, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008494/0.3051, allocations: 6.295 MB / 438.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004673/0.3097, allocations: 2.322 MB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000997/0.3107, allocations: 39.69 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.3117, allocations: 425.3 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.3134, allocations: 0.5007 MB / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.3146, allocations: 0.4989 MB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002204/0.3169, allocations: 1.503 MB / 443.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007545/0.3176, allocations: 375.3 kB / 443.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3186, allocations: 0.5876 MB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009692/0.3196, allocations: 0.6612 MB / 445.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.3198, allocations: 128 kB / 445.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.3202, allocations: 183.9 kB / 445.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.3205, allocations: 306.9 kB / 445.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007452/0.3212, allocations: 0.6489 MB / 446.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.3233, allocations: 1.653 MB / 448 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.3233, allocations: 8 kB / 448 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3233, allocations: 0 / 448 MB, free: 6.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.647e-05/0.3234, allocations: 0 / 448 MB, free: 6.715 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.003066/0.3265, allocations: 1.528 MB / 449.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3265, allocations: 8.031 kB / 449.6 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.3267, allocations: 156.3 kB / 449.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/0.3271, allocations: 163.9 kB / 449.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.3285, allocations: 0.7029 MB / 450.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.3286, allocations: 77.94 kB / 450.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.3287, allocations: 104 kB / 450.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.3304, allocations: 0.904 MB / 451.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/0.3305, allocations: 15.94 kB / 451.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.3306, allocations: 40 kB / 451.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.3306, allocations: 24 kB / 451.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.3319, allocations: 0.6363 MB / 452.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005535/0.3375, allocations: 3.115 MB / 455.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.3389, allocations: 0.581 MB / 456.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.3394, allocations: 270.7 kB / 456.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.665e-05/0.3395, allocations: 16.66 kB / 456.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007283/0.3402, allocations: 340.4 kB / 456.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.956e-06/0.3402, allocations: 0 / 456.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006619/0.3468, allocations: 2.927 MB / 459.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.3469, allocations: 64.41 kB / 459.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.3483, allocations: 0.9391 MB / 460.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.849e-05/0.3484, allocations: 53.7 kB / 460.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/0.3489, allocations: 0.5165 MB / 461.2 MB, free: 9.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.3492, allocations: 368.8 kB / 461.5 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.3494, allocations: 162.6 kB / 461.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3496, allocations: 345.9 kB / 462 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.3502, allocations: 269.9 kB / 462.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.3509, allocations: 429.4 kB / 462.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.3522, allocations: 0.7404 MB / 463.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3522, allocations: 4 kB / 463.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002171/0.3544, allocations: 1.029 MB / 464.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.3544, allocations: 8 kB / 464.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3544, allocations: 7.938 kB / 464.5 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005205/0.3549, allocations: 141.6 kB / 464.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.3557, allocations: 203.9 kB / 464.8 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004203/0.3599, allocations: 3.781 MB / 468.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.3606, allocations: 28 kB / 468.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.3607, allocations: 39.98 kB / 468.7 MB, free: 1.387 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.0006416/0.3613, allocations: 301.6 kB / 469 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.3615, allocations: 111.3 kB / 469.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.3635, allocations: 0.9596 MB / 470 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.3635, allocations: 12 kB / 470.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3635, allocations: 4 kB / 470.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.3635, allocations: 11.86 kB / 470.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/0.3675, allocations: 2.427 MB / 472.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.3675, allocations: 3.984 kB / 472.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/0.3683, allocations: 187.8 kB / 472.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003948/0.3687, allocations: 126 kB / 472.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.204e-05/0.3688, allocations: 24 kB / 472.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003465/0.3723, allocations: 3.389 MB / 476.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3723, allocations: 3.938 kB / 476.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.3748, allocations: 1.443 MB / 477.7 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.3753, allocations: 167.1 kB / 477.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.3754, allocations: 24 kB / 477.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.3758, allocations: 27.98 kB / 477.9 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.3759, allocations: 72.86 kB / 478 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.376, allocations: 39.92 kB / 478 MB, free: 7.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009316/0.3769, allocations: 0.6669 MB / 478.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3769, allocations: 0 / 478.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001002/0.3779, allocations: 247.9 kB / 478.9 MB, free: 6.734 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.004312/0.3823, allocations: 2.315 MB / 481.2 MB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.3845, allocations: 1.014 MB / 482.2 MB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3845, allocations: 3.938 kB / 482.2 MB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.3856, allocations: 0.6636 MB / 482.9 MB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3866, allocations: 182 kB / 483.1 MB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.4006, allocations: 8.76 MB / 491.8 MB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/0.4015, allocations: 1.104 MB / 492.9 MB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004831/0.402, allocations: 115.6 kB / 493.1 MB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006234/0.4026, allocations: 451.3 kB / 493.5 MB, free: 7.863 MB / 398.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4026, allocations: 3.938 kB / 493.5 MB, free: 7.859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0666/0.4692, allocations: 22.11 MB / 0.5035 GB, free: 1.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.47, allocations: 15.56 kB / 0.5035 GB, free: 1.887 MB / 414.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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: 15.239339579828084] Failed to read output from testmodel.py, exit status != 0: ['time', 'vehicle.s', 'vehicle.v', 'vehicle1.s', 'vehicle1.v', 'trailer.s', 'trailer.v'] 12.63859028974548 12.655106902 12.328552033 Calling exit ...