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.0009855/0.0009855, allocations: 80.72 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001122/0.001122, allocations: 145.2 kB / 25.6 MB, free: 8.93 MB / 18.57 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 0.9341/0.9341, allocations: 173.4 MB / 202.3 MB, free: 8.289 MB / 186.7 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: 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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.373e-05, allocations: 6.312 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007658/0.007682, allocations: 5.926 MB / 275.1 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.01079, allocations: 2.115 MB / 277.2 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000572/0.01136, allocations: 39.69 kB / 277.3 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.01201, allocations: 425.2 kB / 277.7 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007645/0.01277, allocations: 0.4888 MB / 278.2 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.01357, allocations: 0.5183 MB / 278.7 MB, free: 252 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.0147, allocations: 1.546 MB / 280.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.01511, allocations: 345.1 kB / 280.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006549/0.01576, allocations: 0.8262 MB / 281.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00045/0.01621, allocations: 0.5257 MB / 281.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.01632, allocations: 128 kB / 282.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.01652, allocations: 167.9 kB / 282.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.0167, allocations: 310.8 kB / 282.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.01697, allocations: 426.8 kB / 282.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008041/0.01778, allocations: 0.9611 MB / 283.9 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01778, allocations: 0 / 283.9 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01778, allocations: 0 / 283.9 MB, free: 11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.01779, allocations: 0 / 283.9 MB, free: 11 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.001567/0.01936, allocations: 1.628 MB / 285.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.01939, allocations: 12.03 kB / 285.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.01958, allocations: 228 kB / 285.8 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006402/0.02023, allocations: 0.6991 MB / 286.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.02027, allocations: 74.38 kB / 286.5 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.02037, allocations: 120.2 kB / 286.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.02103, allocations: 0.659 MB / 287.3 MB, free: 7.496 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.02105, allocations: 11.94 kB / 287.3 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.0211, allocations: 40 kB / 287.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.02111, allocations: 24 kB / 287.4 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.02146, allocations: 293.6 kB / 287.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.02386, allocations: 2.502 MB / 290.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.02438, allocations: 399.6 kB / 290.6 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.02454, allocations: 143.5 kB / 290.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.02457, allocations: 16.66 kB / 290.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.02481, allocations: 226 kB / 290.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=80): time 2.335e-06/0.02481, allocations: 0 / 290.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=100): time 0.002365/0.02717, allocations: 1.974 MB / 292.9 MB, free: 1.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.0272, allocations: 64.41 kB / 293 MB, free: 1.664 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.02768, allocations: 0.7411 MB / 293.7 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.02772, allocations: 41.7 kB / 293.8 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.02801, allocations: 0.6048 MB / 294.4 MB, free: 256 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.02819, allocations: 365 kB / 294.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.02836, allocations: 180.5 kB / 294.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.0285, allocations: 0.512 MB / 295.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.02863, allocations: 106.5 kB / 295.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.02889, allocations: 382.6 kB / 295.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.02933, allocations: 0.5354 MB / 296.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.02933, allocations: 4 kB / 296.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0007707/0.0301, allocations: 0.7728 MB / 297.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.03012, allocations: 11.94 kB / 297.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.03013, allocations: 8 kB / 297.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/0.03037, allocations: 133.9 kB / 297.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.03075, allocations: 207.7 kB / 297.6 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.03301, allocations: 4.462 MB / 302 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.03329, allocations: 28 kB / 302 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.03333, allocations: 35.92 kB / 302.1 MB, free: 8.082 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.000246/0.03358, allocations: 220.4 kB / 302.3 MB, free: 7.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.03369, allocations: 139.3 kB / 302.4 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007188/0.03441, allocations: 0.656 MB / 303.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.03442, allocations: 19.98 kB / 303.1 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.03442, allocations: 4 kB / 303.1 MB, free: 7.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.03443, allocations: 3.984 kB / 303.1 MB, free: 7.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.03634, allocations: 1.709 MB / 304.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.03634, allocations: 4 kB / 304.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.03672, allocations: 171.8 kB / 305 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/0.03693, allocations: 111.6 kB / 305.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.03697, allocations: 23.98 kB / 305.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.0388, allocations: 4.063 MB / 309.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.0388, allocations: 8.078 kB / 309.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009538/0.03976, allocations: 1.06 MB / 310.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.03995, allocations: 159.2 kB / 310.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.327e-05/0.04001, allocations: 27.94 kB / 310.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.0402, allocations: 24 kB / 310.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.0403, allocations: 88.72 kB / 310.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.04033, allocations: 24 kB / 310.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002998/0.04063, allocations: 470.8 kB / 311 MB, free: 14.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04063, allocations: 4 kB / 311 MB, free: 14.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006293/0.04126, allocations: 243.9 kB / 311.3 MB, free: 14.45 MB / 298.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.0009001/0.04216, allocations: 414.6 kB / 311.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008077/0.04297, allocations: 0.8857 MB / 312.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.04297, allocations: 4 kB / 312.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.04343, allocations: 0.6559 MB / 313.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.04397, allocations: 198.9 kB / 313.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.04645, allocations: 2.246 MB / 315.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.0466, allocations: 225 kB / 315.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.04684, allocations: 119.3 kB / 316 MB, free: 9.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.04714, allocations: 242.1 kB / 316.2 MB, free: 9.43 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.04714, allocations: 0 / 316.2 MB, free: 9.43 MB / 298.7 MB Notification: Performance of Templates: time 0.01598/0.06313, allocations: 12.25 MB / 328.5 MB, free: 13.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.079703437164426]