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.0008502/0.0008502, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001275/0.002126, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007939/0.0007939, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001834, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9762/0.9762, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0835/1.06, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.958e-06/1.136e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007154/0.007165, allocations: 6.03 MB / 251 MB, free: 7.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004531/0.0117, allocations: 2.363 MB / 253.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006285/0.01233, allocations: 39.69 kB / 253.4 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007406/0.01307, allocations: 461.1 kB / 253.9 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.01417, allocations: 0.5393 MB / 254.4 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009914/0.01517, allocations: 498.9 kB / 254.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.01685, allocations: 1.527 MB / 256.4 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005713/0.01742, allocations: 365.1 kB / 256.8 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.01867, allocations: 0.9383 MB / 257.7 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/0.01932, allocations: 0.5063 MB / 258.2 MB, free: 344 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.01949, allocations: 128 kB / 258.4 MB, free: 216 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.01979, allocations: 183.9 kB / 258.6 MB, free: 32 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.02003, allocations: 239.2 kB / 258.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.02043, allocations: 355.2 kB / 259.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.02148, allocations: 0.9144 MB / 260 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.02149, allocations: 4 kB / 260 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.0215, allocations: 0 / 260 MB, free: 14.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.02152, allocations: 0 / 260 MB, free: 14.53 MB / 266.7 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.002301/0.02382, allocations: 1.745 MB / 261.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.02386, allocations: 8.031 kB / 261.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004518/0.02431, allocations: 273.8 kB / 262.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008874/0.0252, allocations: 0.5714 MB / 262.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/0.02526, allocations: 74.38 kB / 262.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.02539, allocations: 104.3 kB / 262.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009708/0.02636, allocations: 0.6616 MB / 263.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.0264, allocations: 12.12 kB / 263.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.02647, allocations: 47.94 kB / 263.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.02649, allocations: 24 kB / 263.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005641/0.02706, allocations: 264.6 kB / 263.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.03036, allocations: 1.949 MB / 265.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007385/0.0311, allocations: 416.8 kB / 266.2 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.0313, allocations: 127.4 kB / 266.3 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.03135, allocations: 16.66 kB / 266.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003508/0.0317, allocations: 235 kB / 266.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.755e-06/0.0317, allocations: 0 / 266.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.003614/0.03532, allocations: 1.946 MB / 268.5 MB, free: 5.855 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.03536, allocations: 64.41 kB / 268.6 MB, free: 5.781 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000683/0.03604, allocations: 0.6888 MB / 269.2 MB, free: 5.078 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.03608, allocations: 49.64 kB / 269.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.03636, allocations: 434.6 kB / 269.7 MB, free: 4.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.0366, allocations: 360.8 kB / 270.1 MB, free: 4.238 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.0368, allocations: 166.8 kB / 270.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.03692, allocations: 353.8 kB / 270.6 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.03711, allocations: 93.39 kB / 270.7 MB, free: 3.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.03742, allocations: 293.7 kB / 271 MB, free: 3.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.03802, allocations: 496.7 kB / 271.4 MB, free: 2.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.03802, allocations: 0 / 271.4 MB, free: 2.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0009079/0.03893, allocations: 0.585 MB / 272 MB, free: 2.105 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.03895, allocations: 12.53 kB / 272 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.03896, allocations: 8 kB / 272 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.03927, allocations: 117.5 kB / 272.2 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007205/0.03999, allocations: 262.6 kB / 272.4 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.04246, allocations: 3.135 MB / 275.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.04279, allocations: 28 kB / 275.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.04284, allocations: 31.98 kB / 275.6 MB, free: 14.36 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (114): * Single equations (assignments): 112 * 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.0002307/0.04307, allocations: 172.3 kB / 275.8 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.04319, allocations: 99.91 kB / 275.9 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/0.04404, allocations: 0.5237 MB / 276.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.04405, allocations: 8 kB / 276.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.04406, allocations: 4 kB / 276.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.04407, allocations: 3.984 kB / 276.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.04626, allocations: 1.388 MB / 277.8 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.04627, allocations: 4 kB / 277.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007035/0.04697, allocations: 223 kB / 278 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.04722, allocations: 107.3 kB / 278.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/0.04746, allocations: 93.97 kB / 278.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.0475, allocations: 20 kB / 278.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.04923, allocations: 2.831 MB / 281.1 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.04923, allocations: 4 kB / 281.1 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009158/0.05015, allocations: 0.8663 MB / 281.9 MB, free: 7.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.729e-05/0.05022, allocations: 27.98 kB / 282 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.05045, allocations: 24 kB / 282 MB, free: 7.633 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.05057, allocations: 80.73 kB / 282.1 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.05062, allocations: 27.92 kB / 282.1 MB, free: 7.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002935/0.05091, allocations: 355.3 kB / 282.4 MB, free: 7.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05091, allocations: 0 / 282.4 MB, free: 7.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004855/0.0514, allocations: 251.9 kB / 282.7 MB, free: 6.938 MB / 282.7 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 (90): * Single equations (assignments): 86 * 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.00121/0.05261, allocations: 0.5681 MB / 283.3 MB, free: 6.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.05326, allocations: 0.7352 MB / 284 MB, free: 5.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.991e-05/0.05328, allocations: 17.12 kB / 284 MB, free: 5.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.05365, allocations: 0.5447 MB / 284.6 MB, free: 5.246 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.05414, allocations: 253.2 kB / 284.8 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/0.05992, allocations: 2.09 MB / 286.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.06007, allocations: 236.8 kB / 287.1 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002264/0.0603, allocations: 111.4 kB / 287.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.06057, allocations: 221.3 kB / 287.4 MB, free: 2.242 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.06057, allocations: 0 / 287.4 MB, free: 2.242 MB / 282.7 MB Notification: Performance of Templates: time 0.1065/0.167, allocations: 12.37 MB / 299.8 MB, free: 27.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0538292760029435]