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.00169/0.00169, 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.002206/0.002206, allocations: 213.6 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.001991/0.001991, allocations: 64.77 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.257, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008173/0.2652, allocations: 6.291 MB / 438.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004948/0.2701, allocations: 2.322 MB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008998/0.271, allocations: 39.69 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009073/0.2719, allocations: 425.4 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.2732, allocations: 0.5046 MB / 441.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2743, allocations: 499 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.2761, allocations: 1.503 MB / 443.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006956/0.2768, allocations: 377.2 kB / 443.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008523/0.2776, allocations: 0.5798 MB / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008025/0.2784, allocations: 0.6729 MB / 445.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.2786, allocations: 131.9 kB / 445.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.2789, allocations: 180 kB / 445.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.2793, allocations: 302.9 kB / 445.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005904/0.2798, allocations: 0.6567 MB / 446.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.2816, allocations: 1.65 MB / 448 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2816, allocations: 0 / 448 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2816, allocations: 0 / 448 MB, free: 6.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.2816, allocations: 4 kB / 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.002804/0.2844, allocations: 1.528 MB / 449.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.2845, allocations: 12.03 kB / 449.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.2847, allocations: 152.4 kB / 449.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/0.2851, allocations: 159.9 kB / 449.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.2863, allocations: 0.7068 MB / 450.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.2863, allocations: 77.94 kB / 450.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.2865, allocations: 104 kB / 450.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.2881, allocations: 0.9079 MB / 451.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/0.2881, allocations: 11.95 kB / 451.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.2882, allocations: 36 kB / 451.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.2882, allocations: 31.94 kB / 451.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.2895, allocations: 0.6403 MB / 452.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.2944, allocations: 3.111 MB / 455.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.2957, allocations: 0.5771 MB / 456.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/0.2962, allocations: 270.7 kB / 456.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.2963, allocations: 12.64 kB / 456.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/0.297, allocations: 344.4 kB / 456.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.474e-06/0.297, allocations: 0 / 456.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.005945/0.3029, allocations: 2.921 MB / 459.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.303, allocations: 68.34 kB / 459.7 MB, free: 10.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.3042, allocations: 0.9469 MB / 460.6 MB, free: 9.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.3042, allocations: 41.7 kB / 460.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.3047, allocations: 0.5283 MB / 461.2 MB, free: 9.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/0.305, allocations: 360.9 kB / 461.5 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.3052, allocations: 158.6 kB / 461.7 MB, free: 8.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3054, allocations: 345.9 kB / 462 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.3059, allocations: 277.9 kB / 462.3 MB, free: 8.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007677/0.3067, allocations: 425.5 kB / 462.7 MB, free: 7.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.308, allocations: 0.7482 MB / 463.4 MB, free: 6.852 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.308, allocations: 4 kB / 463.5 MB, free: 6.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001918/0.3099, allocations: 1.029 MB / 464.5 MB, free: 5.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.3099, allocations: 11.94 kB / 464.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3099, allocations: 4 kB / 464.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004591/0.3104, allocations: 144.1 kB / 464.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/0.3112, allocations: 211.7 kB / 464.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/0.3151, allocations: 3.77 MB / 468.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.3156, allocations: 31.98 kB / 468.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.3157, allocations: 36 kB / 468.7 MB, free: 1.379 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.0005094/0.3162, allocations: 301.6 kB / 469 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.3163, allocations: 115.3 kB / 469.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.3182, allocations: 0.9556 MB / 470 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3182, allocations: 12 kB / 470.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3182, allocations: 4 kB / 470.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.3182, allocations: 3.984 kB / 470.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/0.3223, allocations: 2.438 MB / 472.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3223, allocations: 0 / 472.5 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/0.3231, allocations: 183.8 kB / 472.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003665/0.3235, allocations: 122 kB / 472.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/0.3235, allocations: 27.98 kB / 472.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/0.3268, allocations: 3.397 MB / 476.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3268, allocations: 0 / 476.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.3292, allocations: 1.435 MB / 477.7 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.3296, allocations: 175.1 kB / 477.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.3297, allocations: 23.98 kB / 477.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.3301, allocations: 24 kB / 477.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.3302, allocations: 72.86 kB / 478 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.3303, allocations: 39.92 kB / 478 MB, free: 7.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008577/0.3311, allocations: 0.6748 MB / 478.7 MB, free: 6.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3311, allocations: 0 / 478.7 MB, free: 6.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009275/0.3321, allocations: 243.9 kB / 478.9 MB, free: 6.727 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.004101/0.3362, allocations: 2.322 MB / 481.2 MB, free: 4.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.3381, allocations: 1.006 MB / 482.2 MB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3381, allocations: 4.062 kB / 482.2 MB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.3392, allocations: 0.6628 MB / 482.9 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.3401, allocations: 185.6 kB / 483.1 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.3531, allocations: 8.759 MB / 491.8 MB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.3539, allocations: 1.108 MB / 492.9 MB, free: 8.414 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004449/0.3543, allocations: 115.6 kB / 493.1 MB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005803/0.3549, allocations: 459.2 kB / 493.5 MB, free: 7.848 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3549, allocations: 0 / 493.5 MB, free: 7.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06106/0.416, allocations: 22.09 MB / 0.5035 GB, free: 1.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.6, allocations: 6.406 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 & /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 --stepSize=0.01 --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: 15.066277896985412] Failed to read output from testmodel.py, exit status != 0: ['time', 'vehicle.s', 'vehicle.v', 'vehicle1.s', 'vehicle1.v', 'trailer.s', 'trailer.v'] 12.768699808046222 12.795513287 12.509099663 Calling exit ...