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.001801/0.001801, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.00224/0.00224, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.469/1.469, allocations: 230.2 MB / 254.5 MB, free: 15.25 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 59.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09388/0.09566, allocations: 53.32 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.1891/0.2847, allocations: 6.268 MB / 432.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.2885, allocations: 2.309 MB / 435.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006515/0.2891, allocations: 29.72 kB / 435.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007051/0.2898, allocations: 419.4 kB / 435.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.2909, allocations: 0.5048 MB / 436.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00092/0.2918, allocations: 490.5 kB / 436.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.2932, allocations: 1.502 MB / 438.2 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005411/0.2938, allocations: 373.7 kB / 438.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007726/0.2945, allocations: 0.567 MB / 439.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007133/0.2953, allocations: 0.6611 MB / 439.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.2954, allocations: 129.8 kB / 439.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.2957, allocations: 178.7 kB / 440.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.2959, allocations: 310.8 kB / 440.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.2964, allocations: 0.642 MB / 441 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.2981, allocations: 1.664 MB / 442.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2981, allocations: 1.062 kB / 442.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2981, allocations: 4 kB / 442.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.2981, allocations: 0 / 442.7 MB, free: 4.234 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.002561/0.3006, allocations: 1.603 MB / 444.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3007, allocations: 13.97 kB / 444.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.3008, allocations: 151.5 kB / 444.4 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/0.3012, allocations: 161.4 kB / 444.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.3024, allocations: 0.7736 MB / 445.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/0.3024, allocations: 77.69 kB / 445.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.3025, allocations: 112.3 kB / 445.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.304, allocations: 0.9046 MB / 446.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/0.304, allocations: 12.44 kB / 446.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.3041, allocations: 40.41 kB / 446.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.3041, allocations: 24.58 kB / 446.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.3053, allocations: 0.6404 MB / 447.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004521/0.3098, allocations: 3.216 MB / 450.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.3111, allocations: 0.5669 MB / 451 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.3116, allocations: 270.1 kB / 451.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-05/0.3117, allocations: 18.14 kB / 451.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007308/0.3124, allocations: 340.9 kB / 451.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.016e-06/0.3124, allocations: 0 / 451.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006276/0.3187, allocations: 3.082 MB / 454.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.3187, allocations: 66.56 kB / 454.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.3199, allocations: 0.9468 MB / 455.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.32, allocations: 42.08 kB / 455.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.3205, allocations: 0.5278 MB / 456.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.3208, allocations: 362 kB / 456.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/0.321, allocations: 158.8 kB / 456.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3212, allocations: 348 kB / 457.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/0.3218, allocations: 268.2 kB / 457.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/0.3225, allocations: 433.9 kB / 457.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.3238, allocations: 0.7485 MB / 458.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3238, allocations: 0 / 458.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00213/0.3259, allocations: 1.029 MB / 459.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.326, allocations: 10.59 kB / 459.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.326, allocations: 3.969 kB / 459.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.3265, allocations: 148.2 kB / 459.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007786/0.3273, allocations: 199.6 kB / 459.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004637/0.3319, allocations: 3.99 MB / 463.9 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009033/0.3328, allocations: 35.36 kB / 463.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.3329, allocations: 33.41 kB / 464 MB, free: 6.883 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.0006016/0.3335, allocations: 304.1 kB / 464.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.3337, allocations: 113.9 kB / 464.4 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.3356, allocations: 0.9514 MB / 465.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3356, allocations: 9.812 kB / 465.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3356, allocations: 3.188 kB / 465.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.3356, allocations: 4.594 kB / 465.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004282/0.3399, allocations: 2.485 MB / 467.8 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.3399, allocations: 2.75 kB / 467.8 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/0.3406, allocations: 190.4 kB / 468 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.341, allocations: 120 kB / 468.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.341, allocations: 26.27 kB / 468.1 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003664/0.3447, allocations: 3.598 MB / 471.7 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.3447, allocations: 9.172 kB / 471.8 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.3474, allocations: 1.441 MB / 473.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.3479, allocations: 242.5 kB / 473.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.348, allocations: 27.97 kB / 473.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.3484, allocations: 28.36 kB / 473.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.3485, allocations: 73.94 kB / 473.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.3486, allocations: 30.55 kB / 473.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008132/0.3494, allocations: 0.6725 MB / 474.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3494, allocations: 1.281 kB / 474.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001045/0.3504, allocations: 243.6 kB / 474.5 MB, free: 15.15 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.004056/0.3545, allocations: 2.304 MB / 476.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.3565, allocations: 1.009 MB / 477.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.3565, allocations: 7.938 kB / 477.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.3576, allocations: 0.6589 MB / 478.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.3586, allocations: 196 kB / 478.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.3724, allocations: 8.754 MB / 487.4 MB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.3734, allocations: 1.108 MB / 488.5 MB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005068/0.3739, allocations: 115.6 kB / 488.6 MB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/0.3745, allocations: 451.3 kB / 489.1 MB, free: 1.309 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3745, allocations: 0 / 489.1 MB, free: 1.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06191/0.4364, allocations: 21.46 MB / 0.4986 GB, free: 12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.17, allocations: 10.81 kB / 0.4986 GB, free: 11.99 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.20515829604119]