Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 110 kB / 18.49 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 47.92 kB / 366.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.09456, allocations: 52.14 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007924/0.1025, allocations: 6.246 MB / 424.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003951/0.1064, allocations: 2.162 MB / 426.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005933/0.107, allocations: 39.69 kB / 426.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008445/0.1079, allocations: 421.3 kB / 427.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.1089, allocations: 472.9 kB / 427.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1102, allocations: 0.5141 MB / 428.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.112, allocations: 1.492 MB / 429.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005867/0.1126, allocations: 372.7 kB / 430.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006555/0.1133, allocations: 0.572 MB / 430.7 MB, free: 276 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007418/0.114, allocations: 0.6651 MB / 431.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.1142, allocations: 128 kB / 431.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.1145, allocations: 176 kB / 431.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.1147, allocations: 298.9 kB / 432 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006165/0.1154, allocations: 0.645 MB / 432.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.117, allocations: 1.649 MB / 434.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.117, allocations: 0 / 434.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.117, allocations: 4 kB / 434.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.117, allocations: 0 / 434.3 MB, free: 12.7 MB / 366.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.002603/0.1196, allocations: 1.588 MB / 435.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1197, allocations: 15.97 kB / 435.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.911e-05/0.1197, allocations: 26.19 kB / 435.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.1199, allocations: 152.4 kB / 436.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.1201, allocations: 156 kB / 436.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.1213, allocations: 0.771 MB / 437 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.1213, allocations: 74 kB / 437.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.1215, allocations: 107.9 kB / 437.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.1231, allocations: 0.9118 MB / 438.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.1231, allocations: 7.891 kB / 438.1 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.1232, allocations: 44 kB / 438.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.1232, allocations: 20 kB / 438.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.1245, allocations: 0.6402 MB / 438.8 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/0.1293, allocations: 3.21 MB / 442 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.1307, allocations: 0.5765 MB / 442.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/0.1312, allocations: 271.3 kB / 442.8 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.1312, allocations: 16.58 kB / 442.9 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006663/0.1319, allocations: 344.4 kB / 443.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.495e-06/0.1319, allocations: 0 / 443.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006188/0.1381, allocations: 3.079 MB / 446.3 MB, free: 376 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.1382, allocations: 64.41 kB / 446.3 MB, free: 300 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1635/0.3017, allocations: 0.9302 MB / 447.3 MB, free: 29.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.3019, allocations: 42.48 kB / 447.3 MB, free: 29.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.3022, allocations: 0.5152 MB / 447.8 MB, free: 29.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.3025, allocations: 361.9 kB / 448.2 MB, free: 29.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.3028, allocations: 163.6 kB / 448.3 MB, free: 29.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3029, allocations: 348.2 kB / 448.7 MB, free: 28.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/0.3034, allocations: 273 kB / 449 MB, free: 28.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/0.304, allocations: 432.1 kB / 449.4 MB, free: 28.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.3051, allocations: 0.7472 MB / 450.1 MB, free: 28.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3051, allocations: 0 / 450.1 MB, free: 28.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001756/0.3069, allocations: 1.02 MB / 451.1 MB, free: 28.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3069, allocations: 10.34 kB / 451.2 MB, free: 28.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.3069, allocations: 8.625 kB / 451.2 MB, free: 28.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004547/0.3074, allocations: 144.2 kB / 451.3 MB, free: 28.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/0.3081, allocations: 212.1 kB / 451.5 MB, free: 28.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.3113, allocations: 3.986 MB / 455.5 MB, free: 25.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.3119, allocations: 33.27 kB / 455.5 MB, free: 25.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.3119, allocations: 39.91 kB / 455.6 MB, free: 25.28 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.0004072/0.3123, allocations: 302.2 kB / 455.9 MB, free: 25.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.3125, allocations: 110.7 kB / 456 MB, free: 25.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.3143, allocations: 0.9466 MB / 456.9 MB, free: 24.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.3143, allocations: 11.75 kB / 456.9 MB, free: 24.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3143, allocations: 2.812 kB / 456.9 MB, free: 24.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.3143, allocations: 5.438 kB / 456.9 MB, free: 24.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/0.318, allocations: 2.471 MB / 459.4 MB, free: 23.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3181, allocations: 6.812 kB / 459.4 MB, free: 23.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007584/0.3188, allocations: 183.7 kB / 459.6 MB, free: 23.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003499/0.3192, allocations: 123.9 kB / 459.7 MB, free: 23.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/0.3192, allocations: 28.81 kB / 459.7 MB, free: 23.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.3216, allocations: 3.605 MB / 463.3 MB, free: 19.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3216, allocations: 4.594 kB / 463.3 MB, free: 19.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.3236, allocations: 1.431 MB / 464.8 MB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.3239, allocations: 247.1 kB / 465 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.324, allocations: 22.16 kB / 465 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.3244, allocations: 23.17 kB / 465.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.3246, allocations: 83.11 kB / 465.1 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.3246, allocations: 32.34 kB / 465.2 MB, free: 18.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007321/0.3253, allocations: 0.6606 MB / 465.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3253, allocations: 0 / 465.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008578/0.3262, allocations: 242.9 kB / 466.1 MB, free: 18.59 MB / 366.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.003464/0.3297, allocations: 2.335 MB / 468.4 MB, free: 17.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.3313, allocations: 1.008 MB / 469.4 MB, free: 16.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3313, allocations: 0 / 469.4 MB, free: 16.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008729/0.3322, allocations: 0.6623 MB / 470.1 MB, free: 16.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009262/0.3331, allocations: 180.3 kB / 470.3 MB, free: 16.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.3443, allocations: 8.743 MB / 479 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.3449, allocations: 1.099 MB / 480.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004519/0.3454, allocations: 116.5 kB / 480.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004738/0.3458, allocations: 459 kB / 480.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3458, allocations: 0 / 480.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04596/0.3918, allocations: 21.42 MB / 0.4903 GB, free: 9.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.93, allocations: 2.656 kB / 0.4903 GB, free: 9.121 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.132629215018824]