Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001883/0.001883, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002202/0.002202, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 67.88 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.282, allocations: 53.4 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008466/0.2905, allocations: 6.283 MB / 437.5 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005113/0.2956, allocations: 2.325 MB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.2969, allocations: 47.69 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.298, allocations: 417.3 kB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.2998, allocations: 0.5007 MB / 440.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.3011, allocations: 0.4989 MB / 441.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.3038, allocations: 1.507 MB / 442.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007158/0.3045, allocations: 377.2 kB / 443.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009472/0.3055, allocations: 0.5837 MB / 443.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008798/0.3064, allocations: 0.6612 MB / 444.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.3065, allocations: 132 kB / 444.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/0.3069, allocations: 176 kB / 444.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.3072, allocations: 318.8 kB / 445 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006722/0.3079, allocations: 0.6372 MB / 445.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.3099, allocations: 1.665 MB / 447.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3099, allocations: 0 / 447.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3099, allocations: 4 kB / 447.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.3099, allocations: 0 / 447.3 MB, free: 6.5 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.002769/0.3127, allocations: 1.525 MB / 448.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3127, allocations: 8.031 kB / 448.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.3129, allocations: 148.4 kB / 449 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.3133, allocations: 160 kB / 449.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.3146, allocations: 0.7068 MB / 449.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/0.3147, allocations: 78.36 kB / 449.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.3148, allocations: 108.1 kB / 450 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.3164, allocations: 0.9156 MB / 450.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.3164, allocations: 7.953 kB / 450.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.3165, allocations: 40 kB / 451 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.3166, allocations: 24 kB / 451 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.3178, allocations: 0.6402 MB / 451.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004823/0.3226, allocations: 3.115 MB / 454.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.324, allocations: 0.5764 MB / 455.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/0.3245, allocations: 267.4 kB / 455.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.717e-05/0.3245, allocations: 12.64 kB / 455.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006819/0.3252, allocations: 344.3 kB / 455.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.116e-06/0.3252, allocations: 0 / 455.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006097/0.3313, allocations: 2.93 MB / 458.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.3314, allocations: 68.41 kB / 458.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.3326, allocations: 0.943 MB / 459.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.3327, allocations: 41.7 kB / 459.9 MB, free: 9.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.3332, allocations: 0.5204 MB / 460.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.3335, allocations: 364.9 kB / 460.8 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.3337, allocations: 158.6 kB / 460.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3339, allocations: 357.8 kB / 461.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.3344, allocations: 269.9 kB / 461.6 MB, free: 7.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/0.335, allocations: 429.4 kB / 462 MB, free: 7.438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.3363, allocations: 0.7444 MB / 462.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3363, allocations: 3.938 kB / 462.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001927/0.3382, allocations: 1.025 MB / 463.7 MB, free: 5.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.3382, allocations: 4 kB / 463.8 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3382, allocations: 4 kB / 463.8 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.3387, allocations: 146 kB / 463.9 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.3395, allocations: 207.7 kB / 464.1 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/0.3434, allocations: 3.782 MB / 467.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.3439, allocations: 28.06 kB / 467.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.344, allocations: 39.98 kB / 467.9 MB, free: 1.168 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.0005105/0.3445, allocations: 301.6 kB / 468.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.3447, allocations: 111.2 kB / 468.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.3466, allocations: 0.9635 MB / 469.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.3466, allocations: 8 kB / 469.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3466, allocations: 4 kB / 469.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3466, allocations: 3.984 kB / 469.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/0.3508, allocations: 2.435 MB / 471.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.3508, allocations: 11.97 kB / 471.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.3516, allocations: 175.8 kB / 472 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/0.352, allocations: 129.6 kB / 472.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/0.3521, allocations: 27.98 kB / 472.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003676/0.3558, allocations: 3.382 MB / 475.5 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3558, allocations: 4 kB / 475.5 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.3585, allocations: 1.435 MB / 476.9 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004731/0.359, allocations: 167.2 kB / 477.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.3591, allocations: 32.08 kB / 477.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.3595, allocations: 23.98 kB / 477.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.3597, allocations: 84.88 kB / 477.2 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.3598, allocations: 35.98 kB / 477.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009834/0.3607, allocations: 0.6669 MB / 477.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3607, allocations: 0 / 477.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001102/0.3618, allocations: 239.9 kB / 478.2 MB, free: 6.527 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.004254/0.3661, allocations: 2.318 MB / 480.5 MB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.3682, allocations: 1.01 MB / 481.5 MB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.3682, allocations: 0 / 481.5 MB, free: 3.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.3693, allocations: 0.6753 MB / 482.2 MB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.3704, allocations: 183.2 kB / 482.3 MB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.3839, allocations: 8.76 MB / 491.1 MB, free: 9.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008708/0.3848, allocations: 1.1 MB / 492.2 MB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004345/0.3852, allocations: 119.6 kB / 492.3 MB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005979/0.3858, allocations: 455.3 kB / 492.8 MB, free: 7.625 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3858, allocations: 0 / 492.8 MB, free: 7.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07001/0.4558, allocations: 22.15 MB / 0.5028 GB, free: 1.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.76, allocations: 0 / 0.5028 GB, free: 1.59 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vehicle.s in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable vehicle.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable vehicle1.s in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle1.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable vehicle1.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable vehicle1.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable trailer.s in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable trailer.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! Error: Could not read variable trailer.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv. Warning: Get data of variable trailer.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.56693266900038]