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.001689/0.001689, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001959/0.001959, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.311/1.311, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] 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.001465/0.001465, allocations: 43.92 kB / 371.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2166, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.00762/0.2242, allocations: 6.275 MB / 429.7 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.2279, allocations: 2.177 MB / 431.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00053/0.2285, allocations: 39.75 kB / 431.9 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008145/0.2293, allocations: 433.3 kB / 432.3 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009785/0.2303, allocations: 468.9 kB / 432.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.2313, allocations: 0.5263 MB / 433.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.2329, allocations: 1.492 MB / 434.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000578/0.2335, allocations: 373.1 kB / 435.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007071/0.2342, allocations: 0.5682 MB / 435.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008051/0.235, allocations: 0.6651 MB / 436.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.2352, allocations: 128 kB / 436.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002822/0.2355, allocations: 171.9 kB / 436.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.2357, allocations: 310.9 kB / 437 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005421/0.2363, allocations: 0.6372 MB / 437.6 MB, free: 304 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.238, allocations: 1.654 MB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.238, allocations: 0 / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.238, allocations: 0 / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.238, allocations: 0 / 439.3 MB, free: 14.64 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.002626/0.2406, allocations: 1.513 MB / 440.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2407, allocations: 12.03 kB / 440.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.937e-05/0.2407, allocations: 26.12 kB / 440.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.2409, allocations: 152.4 kB / 441 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.2411, allocations: 156 kB / 441.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.2424, allocations: 0.6975 MB / 441.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.749e-05/0.2425, allocations: 74 kB / 441.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.2426, allocations: 107.9 kB / 442 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.2444, allocations: 0.9079 MB / 442.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.2444, allocations: 7.953 kB / 442.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.579e-05/0.2445, allocations: 40 kB / 443 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.2445, allocations: 24 kB / 443 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.2459, allocations: 0.6441 MB / 443.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005063/0.2509, allocations: 3.103 MB / 446.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.2523, allocations: 0.5725 MB / 447.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.2528, allocations: 274.6 kB / 447.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.782e-05/0.2528, allocations: 12.64 kB / 447.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006659/0.2535, allocations: 348.4 kB / 447.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.475e-06/0.2535, allocations: 0 / 447.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.005962/0.2595, allocations: 2.939 MB / 450.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.2595, allocations: 64.39 kB / 450.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.2606, allocations: 0.9389 MB / 451.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.2607, allocations: 45.7 kB / 451.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.2611, allocations: 0.5088 MB / 452.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.2614, allocations: 360.9 kB / 452.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.2616, allocations: 166.6 kB / 452.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2618, allocations: 345.9 kB / 453.3 MB, free: 348 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/0.2624, allocations: 269.9 kB / 453.5 MB, free: 80 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.263, allocations: 425.5 kB / 454 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.2642, allocations: 0.7483 MB / 454.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2642, allocations: 0 / 454.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001894/0.2661, allocations: 1.029 MB / 455.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2662, allocations: 8.438 kB / 455.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.2662, allocations: 8 kB / 455.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000441/0.2666, allocations: 148.8 kB / 455.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.2674, allocations: 207.7 kB / 456.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/0.2712, allocations: 3.775 MB / 459.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.2718, allocations: 27.98 kB / 459.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.2718, allocations: 36 kB / 459.9 MB, free: 9.34 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.0004947/0.2723, allocations: 305.5 kB / 460.2 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.2725, allocations: 111.4 kB / 460.3 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.2743, allocations: 0.9439 MB / 461.3 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.2743, allocations: 12 kB / 461.3 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2743, allocations: 8 kB / 461.3 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.2743, allocations: 7.969 kB / 461.3 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/0.2784, allocations: 2.427 MB / 463.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.2784, allocations: 7.938 kB / 463.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/0.2791, allocations: 183.8 kB / 463.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/0.2795, allocations: 126 kB / 464.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.635e-05/0.2795, allocations: 23.98 kB / 464.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/0.2829, allocations: 3.397 MB / 467.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.2829, allocations: 4 kB / 467.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.2853, allocations: 1.435 MB / 468.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/0.2857, allocations: 175.1 kB / 469.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.2858, allocations: 24 kB / 469.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.2862, allocations: 24.12 kB / 469.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.2864, allocations: 84.78 kB / 469.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/0.2864, allocations: 27.98 kB / 469.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008114/0.2872, allocations: 0.6631 MB / 469.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2872, allocations: 3.938 kB / 469.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008979/0.2881, allocations: 244 kB / 470.1 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.004247/0.2924, allocations: 2.314 MB / 472.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.2945, allocations: 1.01 MB / 473.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.2945, allocations: 0 / 473.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.2957, allocations: 0.6745 MB / 474.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.297, allocations: 188.7 kB / 474.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.3101, allocations: 8.736 MB / 483.1 MB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007888/0.3109, allocations: 1.104 MB / 484.2 MB, free: 416 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004055/0.3113, allocations: 119.5 kB / 484.3 MB, free: 292 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006004/0.3119, allocations: 447.4 kB / 484.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3119, allocations: 0 / 484.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.056/0.3679, allocations: 22.1 MB / 0.4949 GB, free: 9.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13, allocations: 1.312 kB / 0.4949 GB, free: 9.906 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: 16.103034008992836]