Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.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.001332/0.001332, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.00164/0.00164, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 8.031 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+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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 51.92 kB / 377.8 MB, free: 3.234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2772, allocations: 53.37 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008699/0.2859, allocations: 6.287 MB / 437.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005109/0.291, allocations: 2.329 MB / 439.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.2921, allocations: 35.75 kB / 439.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.2933, allocations: 425.3 kB / 440.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.295, allocations: 0.5007 MB / 440.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.2964, allocations: 0.4912 MB / 441.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.2986, allocations: 1.507 MB / 442.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007664/0.2994, allocations: 373.2 kB / 443.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.3004, allocations: 0.5876 MB / 443.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.3015, allocations: 0.6612 MB / 444.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.3018, allocations: 131.9 kB / 444.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.3022, allocations: 180 kB / 444.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.3026, allocations: 310.8 kB / 444.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00087/0.3034, allocations: 0.6372 MB / 445.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.3056, allocations: 1.669 MB / 447.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3056, allocations: 4 kB / 447.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3056, allocations: 0 / 447.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.436e-05/0.3057, allocations: 0 / 447.2 MB, free: 6.688 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.003435/0.3091, allocations: 1.525 MB / 448.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.3092, allocations: 12.03 kB / 448.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002645/0.3095, allocations: 144.4 kB / 448.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004968/0.31, allocations: 163.9 kB / 449.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.3115, allocations: 0.7029 MB / 449.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.473e-05/0.3116, allocations: 77.94 kB / 449.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.3118, allocations: 107.9 kB / 450 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.3135, allocations: 0.9117 MB / 450.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.612e-05/0.3136, allocations: 15.94 kB / 450.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.3136, allocations: 40 kB / 450.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.3137, allocations: 24 kB / 450.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.315, allocations: 0.6402 MB / 451.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006181/0.3212, allocations: 3.111 MB / 454.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.3227, allocations: 0.5694 MB / 455.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000532/0.3232, allocations: 270.7 kB / 455.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.226e-05/0.3233, allocations: 20.58 kB / 455.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007287/0.324, allocations: 344.3 kB / 455.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.056e-06/0.324, allocations: 0 / 455.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006783/0.3308, allocations: 2.927 MB / 458.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.3309, allocations: 60.41 kB / 458.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.3323, allocations: 0.9469 MB / 459.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.3324, allocations: 45.7 kB / 459.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005112/0.3329, allocations: 0.5205 MB / 460.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.3332, allocations: 364.9 kB / 460.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.3335, allocations: 158.6 kB / 460.9 MB, free: 8.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3337, allocations: 345.9 kB / 461.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.3343, allocations: 269.9 kB / 461.5 MB, free: 8.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.335, allocations: 429.4 kB / 461.9 MB, free: 7.633 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.3363, allocations: 0.7445 MB / 462.7 MB, free: 6.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3363, allocations: 3.938 kB / 462.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002171/0.3385, allocations: 1.037 MB / 463.7 MB, free: 5.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3385, allocations: 8 kB / 463.7 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3385, allocations: 7.938 kB / 463.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004687/0.339, allocations: 141.6 kB / 463.9 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/0.3398, allocations: 207.9 kB / 464.1 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/0.3442, allocations: 3.784 MB / 467.8 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.3448, allocations: 27.98 kB / 467.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/0.3449, allocations: 32 kB / 467.9 MB, free: 1.359 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.0005473/0.3455, allocations: 309.6 kB / 468.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.3457, allocations: 111.3 kB / 468.3 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.3477, allocations: 0.9634 MB / 469.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.3477, allocations: 12 kB / 469.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.3477, allocations: 3.984 kB / 469.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.3477, allocations: 3.984 kB / 469.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.3522, allocations: 2.431 MB / 471.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.3522, allocations: 4 kB / 471.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007563/0.353, allocations: 183.8 kB / 471.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003868/0.3534, allocations: 126 kB / 472 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.97e-05/0.3535, allocations: 27.98 kB / 472.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/0.3572, allocations: 3.386 MB / 475.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.3572, allocations: 4 kB / 475.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/0.3599, allocations: 1.435 MB / 476.9 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005569/0.3605, allocations: 175.1 kB / 477.1 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.3607, allocations: 23.98 kB / 477.1 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.3613, allocations: 24 kB / 477.1 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.3615, allocations: 76.89 kB / 477.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.241e-05/0.3615, allocations: 39.92 kB / 477.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.3627, allocations: 0.6669 MB / 477.9 MB, free: 6.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3627, allocations: 0 / 477.9 MB, free: 6.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001218/0.3639, allocations: 247.9 kB / 478.1 MB, free: 6.703 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.004674/0.3686, allocations: 2.325 MB / 480.5 MB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.3708, allocations: 1.006 MB / 481.5 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.3708, allocations: 0 / 481.5 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.372, allocations: 0.6714 MB / 482.1 MB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.3732, allocations: 178.1 kB / 482.3 MB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.3886, allocations: 8.752 MB / 491.1 MB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009561/0.3895, allocations: 1.104 MB / 492.2 MB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004398/0.39, allocations: 119.6 kB / 492.3 MB, free: 8.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/0.3906, allocations: 451.3 kB / 492.7 MB, free: 7.832 MB / 398.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3906, allocations: 0 / 492.7 MB, free: 7.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0693/0.4599, allocations: 22.15 MB / 0.5028 GB, free: 1.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.71, allocations: 10.28 kB / 0.5028 GB, free: 1.828 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/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_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.762185933999717]