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.001594/0.001594, allocations: 124.2 kB / 18.5 MB, free: 4.578 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.00187/0.00187, allocations: 214.2 kB / 21.45 MB, free: 1.629 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.467/1.467, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001837/0.001837, allocations: 67.89 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 53.37 MB / 427.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.1969/0.3029, allocations: 6.266 MB / 433.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003499/0.3064, allocations: 2.305 MB / 435.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.307, allocations: 37.75 kB / 435.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.3077, allocations: 428 kB / 436.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.3087, allocations: 0.5001 MB / 436.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009348/0.3097, allocations: 492.9 kB / 437.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.3111, allocations: 1.505 MB / 438.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005168/0.3116, allocations: 376.1 kB / 438.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006622/0.3123, allocations: 0.5795 MB / 439.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006607/0.3129, allocations: 0.6597 MB / 440.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.3131, allocations: 129.7 kB / 440.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.3134, allocations: 179.3 kB / 440.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.3136, allocations: 311.4 kB / 440.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000435/0.3141, allocations: 0.6457 MB / 441.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.3157, allocations: 1.661 MB / 443.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3157, allocations: 0 / 443.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3157, allocations: 0 / 443.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.3157, allocations: 0 / 443.1 MB, free: 3.918 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.002608/0.3183, allocations: 1.609 MB / 444.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3184, allocations: 9.219 kB / 444.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.966e-05/0.3184, allocations: 26.31 kB / 444.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.3185, allocations: 151 kB / 444.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.3189, allocations: 162.1 kB / 445 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.3201, allocations: 0.774 MB / 445.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.464e-05/0.3201, allocations: 74.47 kB / 445.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.3203, allocations: 111 kB / 446 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.3218, allocations: 0.9129 MB / 446.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/0.3218, allocations: 14.41 kB / 446.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.3219, allocations: 36.92 kB / 447 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.3219, allocations: 24.47 kB / 447 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.3232, allocations: 0.6378 MB / 447.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.328, allocations: 3.204 MB / 450.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.3295, allocations: 0.5827 MB / 451.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005448/0.33, allocations: 262.6 kB / 451.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.493e-05/0.3301, allocations: 14.86 kB / 451.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000698/0.3307, allocations: 344.6 kB / 452 MB, free: 14.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.835e-06/0.3308, allocations: 0 / 452 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006457/0.3372, allocations: 3.093 MB / 455.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3373, allocations: 62.06 kB / 455.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.3385, allocations: 0.9429 MB / 456.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.968e-05/0.3386, allocations: 47.11 kB / 456.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.3391, allocations: 0.5135 MB / 456.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.3394, allocations: 363.7 kB / 457 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.3396, allocations: 168.4 kB / 457.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3398, allocations: 346.2 kB / 457.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.3404, allocations: 274.6 kB / 457.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/0.3411, allocations: 435.7 kB / 458.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.3424, allocations: 0.7383 MB / 459 MB, free: 10.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3425, allocations: 1.25 kB / 459 MB, free: 10.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002278/0.3447, allocations: 1.031 MB / 460 MB, free: 10.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3448, allocations: 7.25 kB / 460 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3448, allocations: 3.531 kB / 460 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.3452, allocations: 148.8 kB / 460.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/0.346, allocations: 204.2 kB / 460.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004224/0.3502, allocations: 3.992 MB / 464.3 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005667/0.3508, allocations: 34.28 kB / 464.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.3509, allocations: 37.89 kB / 464.4 MB, free: 6.391 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.0005096/0.3514, allocations: 300.4 kB / 464.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.3515, allocations: 109.7 kB / 464.8 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.3534, allocations: 0.9517 MB / 465.8 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3534, allocations: 10.58 kB / 465.8 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3534, allocations: 3.312 kB / 465.8 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.3534, allocations: 5.141 kB / 465.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004079/0.3575, allocations: 2.482 MB / 468.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.3575, allocations: 7.281 kB / 468.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007484/0.3583, allocations: 184.9 kB / 468.4 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003722/0.3586, allocations: 119.9 kB / 468.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.3587, allocations: 29.67 kB / 468.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003336/0.362, allocations: 3.606 MB / 472.2 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.362, allocations: 3.406 kB / 472.2 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.3644, allocations: 1.434 MB / 473.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/0.3648, allocations: 250 kB / 473.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.3649, allocations: 24.22 kB / 473.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.3653, allocations: 20.75 kB / 473.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.3655, allocations: 83.48 kB / 474 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.3655, allocations: 28.91 kB / 474 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007924/0.3663, allocations: 0.6689 MB / 474.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3663, allocations: 0 / 474.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009564/0.3673, allocations: 244.2 kB / 474.9 MB, free: 14.64 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.00403/0.3713, allocations: 2.315 MB / 477.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.3733, allocations: 1.01 MB / 478.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3733, allocations: 0 / 478.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.3743, allocations: 0.6716 MB / 478.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3754, allocations: 183.4 kB / 479.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.3886, allocations: 8.758 MB / 487.9 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008029/0.3894, allocations: 1.104 MB / 489 MB, free: 1.219 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004672/0.3898, allocations: 119.6 kB / 489.1 MB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005878/0.3904, allocations: 451.3 kB / 489.5 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3904, allocations: 0 / 489.5 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05272/0.4432, allocations: 21.5 MB / 0.4991 GB, free: 11.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.06, allocations: 7.016 kB / 0.4991 GB, free: 11.32 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.30905909196008]