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.001248/0.001248, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001368/0.001368, allocations: 211 kB / 24.53 MB, free: 4.07 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.349/1.349, allocations: 230.5 MB / 258.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 59.91 kB / 378.6 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2292, allocations: 53.41 MB / 432 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007916/0.2371, allocations: 6.292 MB / 438.3 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00406/0.2412, allocations: 2.317 MB / 440.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/0.2417, allocations: 39.69 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007828/0.2425, allocations: 429.3 kB / 441 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.2436, allocations: 0.5046 MB / 441.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.2445, allocations: 0.499 MB / 442 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.2461, allocations: 1.5 MB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/0.2467, allocations: 373.2 kB / 443.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007439/0.2475, allocations: 0.5837 MB / 444.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007672/0.2482, allocations: 0.6612 MB / 445.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.2484, allocations: 132 kB / 445.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.2487, allocations: 184 kB / 445.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.249, allocations: 306.9 kB / 445.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005718/0.2495, allocations: 0.6411 MB / 446.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.2513, allocations: 1.666 MB / 448.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2513, allocations: 0 / 448.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2513, allocations: 0 / 448.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.751e-05/0.2513, allocations: 0 / 448.1 MB, free: 6.492 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.002687/0.254, allocations: 1.528 MB / 449.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2541, allocations: 12.03 kB / 449.6 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.589e-05/0.2541, allocations: 26.19 kB / 449.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.2543, allocations: 144.4 kB / 449.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.2546, allocations: 163.9 kB / 449.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.2558, allocations: 0.7145 MB / 450.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.2559, allocations: 74.38 kB / 450.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.256, allocations: 107.9 kB / 450.8 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.2575, allocations: 0.9079 MB / 451.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/0.2576, allocations: 11.94 kB / 451.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.2577, allocations: 40 kB / 451.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.2577, allocations: 24 kB / 451.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.259, allocations: 0.6402 MB / 452.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004764/0.2637, allocations: 3.111 MB / 455.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.2651, allocations: 0.5725 MB / 456.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/0.2656, allocations: 275.3 kB / 456.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/0.2656, allocations: 12.64 kB / 456.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007072/0.2663, allocations: 344.4 kB / 456.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.835e-06/0.2663, allocations: 0 / 456.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006414/0.2727, allocations: 2.93 MB / 459.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.2728, allocations: 60.41 kB / 459.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.2741, allocations: 0.9468 MB / 460.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/0.2742, allocations: 41.7 kB / 460.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/0.2747, allocations: 0.5282 MB / 461.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.275, allocations: 364.9 kB / 461.6 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.2752, allocations: 162.6 kB / 461.8 MB, free: 8.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2754, allocations: 345.9 kB / 462.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/0.2759, allocations: 265.9 kB / 462.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/0.2766, allocations: 433.4 kB / 462.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.2778, allocations: 0.7521 MB / 463.5 MB, free: 6.602 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2779, allocations: 0 / 463.5 MB, free: 6.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00199/0.2798, allocations: 1.025 MB / 464.6 MB, free: 5.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2799, allocations: 8 kB / 464.6 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2799, allocations: 4.406 kB / 464.6 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004509/0.2803, allocations: 149.6 kB / 464.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/0.2811, allocations: 207.7 kB / 464.9 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/0.2852, allocations: 3.766 MB / 468.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/0.286, allocations: 24 kB / 468.7 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/0.286, allocations: 35.98 kB / 468.7 MB, free: 1.145 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.0006883/0.2867, allocations: 309.6 kB / 469 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.2869, allocations: 123.3 kB / 469.2 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.2889, allocations: 0.9479 MB / 470.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.2889, allocations: 16.03 kB / 470.1 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2889, allocations: 4 kB / 470.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.2889, allocations: 7.969 kB / 470.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.293, allocations: 2.431 MB / 472.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.293, allocations: 7.984 kB / 472.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.2937, allocations: 187.7 kB / 472.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003604/0.2941, allocations: 122 kB / 472.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.2942, allocations: 24 kB / 472.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.2975, allocations: 3.386 MB / 476.3 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.2975, allocations: 11.94 kB / 476.3 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.3, allocations: 1.431 MB / 477.7 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.3004, allocations: 171.2 kB / 477.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.3005, allocations: 23.94 kB / 477.9 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.3009, allocations: 27.98 kB / 478 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.3011, allocations: 80.89 kB / 478 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.3011, allocations: 31.98 kB / 478.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008662/0.302, allocations: 0.6669 MB / 478.7 MB, free: 6.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.302, allocations: 0 / 478.7 MB, free: 6.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009078/0.3029, allocations: 251.9 kB / 479 MB, free: 6.484 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.004148/0.307, allocations: 2.32 MB / 481.3 MB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.309, allocations: 1.01 MB / 482.3 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.309, allocations: 0.875 kB / 482.3 MB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.3102, allocations: 0.6745 MB / 483 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.3113, allocations: 178.3 kB / 483.2 MB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.3252, allocations: 8.76 MB / 491.9 MB, free: 9.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/0.326, allocations: 1.104 MB / 493 MB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004601/0.3265, allocations: 119.6 kB / 493.1 MB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/0.3271, allocations: 451.3 kB / 493.6 MB, free: 7.582 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3271, allocations: 0 / 493.6 MB, free: 7.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06046/0.3876, allocations: 22.17 MB / 0.5037 GB, free: 1.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.21, allocations: 4.062 kB / 0.5037 GB, free: 1.531 MB / 414.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.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_trunk_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.268713948025834]