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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,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=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 180.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007819/0.0007818, allocations: 94.08 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002546/0.0002545, allocations: 7.938 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2276, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.3402, allocations: 85.97 MB / 487.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.3405, allocations: 71.97 kB / 487.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05966/0.4001, allocations: 22.15 MB / 0.4977 GB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4002, allocations: 0 / 0.4977 GB, free: 4.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.456e-05/0.4003, allocations: 31.98 kB / 0.4978 GB, free: 4.199 MB / 378.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.002605/0.4029, allocations: 1.353 MB / 0.4991 GB, free: 2.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4029, allocations: 11.97 kB / 0.4991 GB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.4032, allocations: 142.2 kB / 0.4992 GB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.4044, allocations: 0.7357 MB / 0.5 GB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.4044, allocations: 74 kB / 0.5 GB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.4046, allocations: 103.9 kB / 0.5001 GB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.4062, allocations: 0.9117 MB / 0.501 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.4062, allocations: 7.906 kB / 0.501 GB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/0.4063, allocations: 43.98 kB / 0.5011 GB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.4063, allocations: 24 kB / 0.5011 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.4076, allocations: 0.648 MB / 0.5017 GB, free: 36 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1677/0.5753, allocations: 3.295 MB / 0.5049 GB, free: 88.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.5767, allocations: 0.624 MB / 0.5055 GB, free: 88.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/0.5768, allocations: 11.98 kB / 0.5056 GB, free: 88.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007627/0.5775, allocations: 349 kB / 0.5059 GB, free: 88.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 4.318e-06/0.5776, allocations: 0 / 0.5059 GB, free: 88.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.005793/0.5834, allocations: 3.078 MB / 0.5089 GB, free: 87.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.5834, allocations: 65.78 kB / 0.509 GB, free: 87.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/0.5844, allocations: 0.8287 MB / 0.5098 GB, free: 87.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.5844, allocations: 38.2 kB / 0.5098 GB, free: 87.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.5847, allocations: 0.5257 MB / 0.5103 GB, free: 87.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.5849, allocations: 347.5 kB / 0.5106 GB, free: 87.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.5849, allocations: 19.56 kB / 0.5107 GB, free: 87.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.585, allocations: 340 kB / 0.511 GB, free: 86.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.5855, allocations: 278.8 kB / 0.5113 GB, free: 86.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.586, allocations: 430.5 kB / 0.5117 GB, free: 86.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.5865, allocations: 339.8 kB / 0.512 GB, free: 86.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5866, allocations: 3.406 kB / 0.512 GB, free: 86.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001581/0.5881, allocations: 1.034 MB / 0.513 GB, free: 86.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5882, allocations: 11.22 kB / 0.513 GB, free: 86.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.5882, allocations: 2.719 kB / 0.513 GB, free: 86.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.5886, allocations: 150.9 kB / 0.5132 GB, free: 86.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007469/0.5894, allocations: 206.4 kB / 0.5134 GB, free: 86.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.5922, allocations: 3.648 MB / 0.5169 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008177/0.593, allocations: 37.62 kB / 0.517 GB, free: 83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.5931, allocations: 34.8 kB / 0.517 GB, free: 82.98 MB / 378.7 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 ($whenCondition1,$PRE.timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEvent,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006218/0.5937, allocations: 309.3 kB / 0.5173 GB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.5939, allocations: 103.5 kB / 0.5174 GB, free: 82.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.5955, allocations: 0.972 MB / 0.5183 GB, free: 82.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.5955, allocations: 9.531 kB / 0.5183 GB, free: 82.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5955, allocations: 6.625 kB / 0.5183 GB, free: 82.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.5956, allocations: 7.672 kB / 0.5184 GB, free: 82.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.599, allocations: 2.589 MB / 0.5209 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.599, allocations: 3.781 kB / 0.5209 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007584/0.5998, allocations: 188.1 kB / 0.5211 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003479/0.6002, allocations: 118.7 kB / 0.5212 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.6002, allocations: 33.72 kB / 0.5212 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/0.6025, allocations: 3.319 MB / 0.5245 GB, free: 77.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6025, allocations: 6.766 kB / 0.5245 GB, free: 77.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.6047, allocations: 1.605 MB / 0.526 GB, free: 76.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.6052, allocations: 271 kB / 0.5263 GB, free: 76.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6053, allocations: 19.53 kB / 0.5263 GB, free: 76.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.6058, allocations: 29.45 kB / 0.5263 GB, free: 76.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.6059, allocations: 85.94 kB / 0.5264 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/0.606, allocations: 31.55 kB / 0.5264 GB, free: 76.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007252/0.6067, allocations: 0.657 MB / 0.5271 GB, free: 76.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6067, allocations: 0 / 0.5271 GB, free: 76.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009282/0.6076, allocations: 264.6 kB / 0.5273 GB, free: 76.27 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009691/0.6086, allocations: 472 kB / 0.5278 GB, free: 76.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.6104, allocations: 1.046 MB / 0.5288 GB, free: 75.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.6104, allocations: 0 / 0.5288 GB, free: 75.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009979/0.6114, allocations: 0.7044 MB / 0.5295 GB, free: 75.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.6125, allocations: 150.3 kB / 0.5296 GB, free: 75.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.6162, allocations: 3.147 MB / 0.5327 GB, free: 72.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.6167, allocations: 1.13 MB / 0.5338 GB, free: 71.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004815/0.6172, allocations: 131 kB / 0.5339 GB, free: 71.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.6174, allocations: 80.31 kB / 0.534 GB, free: 71.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6174, allocations: 0 / 0.534 GB, free: 71.77 MB / 378.7 MB Notification: Performance of Templates: time 0.01657/0.634, allocations: 10.51 MB / 0.5443 GB, free: 64.32 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) 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","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches