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.001371/0.001371, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001413/0.001413, allocations: 184.5 kB / 23.72 MB, free: 4.699 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.379/1.379, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 51.92 kB / 370.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2299, allocations: 52.18 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.009014/0.2389, allocations: 6.271 MB / 428.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.2439, allocations: 2.174 MB / 431.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.2452, allocations: 39.69 kB / 431.1 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.2465, allocations: 425.4 kB / 431.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.2481, allocations: 468.9 kB / 432 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.2495, allocations: 0.541 MB / 432.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002171/0.2516, allocations: 1.492 MB / 434 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007611/0.2524, allocations: 377.1 kB / 434.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008924/0.2533, allocations: 0.572 MB / 435 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009775/0.2543, allocations: 0.6612 MB / 435.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002368/0.2545, allocations: 132 kB / 435.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.2549, allocations: 168 kB / 435.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.2552, allocations: 306.9 kB / 436.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007588/0.2559, allocations: 0.6411 MB / 436.9 MB, free: 280 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.2578, allocations: 1.654 MB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2578, allocations: 0 / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2578, allocations: 0 / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-05/0.2578, allocations: 3.984 kB / 438.5 MB, free: 14.62 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.002989/0.2608, allocations: 1.517 MB / 440 MB, free: 13.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.2609, allocations: 8.031 kB / 440 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.2611, allocations: 148.4 kB / 440.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.2613, allocations: 156 kB / 440.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.2625, allocations: 0.69 MB / 441 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.2626, allocations: 77.94 kB / 441.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.2627, allocations: 111.9 kB / 441.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.2643, allocations: 0.9079 MB / 442.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/0.2644, allocations: 7.953 kB / 442.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.2645, allocations: 40 kB / 442.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.2645, allocations: 24 kB / 442.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.2658, allocations: 0.6363 MB / 442.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/0.2708, allocations: 3.111 MB / 445.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.2722, allocations: 0.5687 MB / 446.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000525/0.2727, allocations: 266.7 kB / 446.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.859e-05/0.2728, allocations: 20.56 kB / 446.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006928/0.2735, allocations: 348.4 kB / 447.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.685e-06/0.2735, allocations: 0 / 447.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.006018/0.2795, allocations: 2.928 MB / 450 MB, free: 2.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.2795, allocations: 68.41 kB / 450.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.2808, allocations: 0.9312 MB / 451 MB, free: 1.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.234e-05/0.2808, allocations: 49.69 kB / 451.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.2813, allocations: 0.5127 MB / 451.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.2816, allocations: 360.9 kB / 452 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.2818, allocations: 162.6 kB / 452.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2819, allocations: 345.9 kB / 452.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.2825, allocations: 269.9 kB / 452.7 MB, free: 92 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/0.2832, allocations: 437.3 kB / 453.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.2844, allocations: 0.7444 MB / 453.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.2844, allocations: 4 kB / 453.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00191/0.2863, allocations: 1.025 MB / 454.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2863, allocations: 8.438 kB / 454.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2863, allocations: 8 kB / 454.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004437/0.2868, allocations: 141.6 kB / 455.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007493/0.2875, allocations: 207.8 kB / 455.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00438/0.2919, allocations: 3.777 MB / 459.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/0.2926, allocations: 28 kB / 459.1 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.2927, allocations: 35.98 kB / 459.1 MB, free: 9.348 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.00058/0.2933, allocations: 309.6 kB / 459.4 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.2935, allocations: 115.5 kB / 459.5 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.2953, allocations: 0.9516 MB / 460.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.2953, allocations: 12 kB / 460.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.2954, allocations: 8 kB / 460.5 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.2954, allocations: 7.969 kB / 460.5 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00435/0.2997, allocations: 2.431 MB / 462.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.2997, allocations: 7.984 kB / 463 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007658/0.3005, allocations: 179.8 kB / 463.1 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000379/0.3009, allocations: 129.9 kB / 463.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.711e-05/0.3009, allocations: 23.98 kB / 463.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003487/0.3044, allocations: 3.386 MB / 466.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/0.3044, allocations: 8.078 kB / 466.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.307, allocations: 1.439 MB / 468.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.3075, allocations: 167.1 kB / 468.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.3076, allocations: 32 kB / 468.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.3081, allocations: 23.98 kB / 468.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.3082, allocations: 76.89 kB / 468.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.3083, allocations: 31.94 kB / 468.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009743/0.3093, allocations: 0.6669 MB / 469.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3093, allocations: 0 / 469.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009621/0.3102, allocations: 244 kB / 469.3 MB, free: 14.7 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.004195/0.3144, allocations: 2.303 MB / 471.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.3165, allocations: 1.014 MB / 472.7 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3165, allocations: 0 / 472.7 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.3176, allocations: 0.6745 MB / 473.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3186, allocations: 192.2 kB / 473.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.3326, allocations: 8.732 MB / 482.3 MB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/0.3335, allocations: 1.104 MB / 483.4 MB, free: 420 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004056/0.3339, allocations: 119.6 kB / 483.5 MB, free: 296 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000623/0.3345, allocations: 451.3 kB / 483.9 MB, free: 15.85 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3345, allocations: 0 / 483.9 MB, free: 15.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06408/0.3986, allocations: 22.06 MB / 0.4941 GB, free: 9.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.17, allocations: 8.047 kB / 0.4941 GB, free: 9.93 MB / 414.1 MB " [Timeout remaining time 647] (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.946005238918588]