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) 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) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 112.7 kB / 17.68 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.00177, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009826/0.0009826, allocations: 51.48 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0876/0.0886, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007396/0.09604, allocations: 6.214 MB / 357.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.09985, allocations: 2.146 MB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.1005, allocations: 31.88 kB / 359.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008604/0.1014, allocations: 421.3 kB / 360.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.1026, allocations: 456.9 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1037, allocations: 0.5167 MB / 361.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.1055, allocations: 1.484 MB / 362.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007956/0.1063, allocations: 0.5513 MB / 363.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008442/0.1072, allocations: 0.5486 MB / 363.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006884/0.1079, allocations: 0.6456 MB / 364.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.1081, allocations: 128 kB / 364.6 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.1084, allocations: 172 kB / 364.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.1086, allocations: 302.9 kB / 365.1 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006149/0.1092, allocations: 0.6489 MB / 365.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.1111, allocations: 1.643 MB / 367.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1111, allocations: 0 / 367.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1111, allocations: 0 / 367.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.1112, allocations: 0 / 367.4 MB, free: 3.727 MB / 302.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.002722/0.1139, allocations: 1.551 MB / 368.9 MB, free: 2.125 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1139, allocations: 15.89 kB / 368.9 MB, free: 2.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.1142, allocations: 139.2 kB / 369.1 MB, free: 1.973 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.1154, allocations: 0.7626 MB / 369.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/0.1154, allocations: 78.12 kB / 369.9 MB, free: 1.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.1156, allocations: 107.9 kB / 370 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.1172, allocations: 0.9079 MB / 370.9 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.399e-05/0.1172, allocations: 15.83 kB / 370.9 MB, free: 48 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/0.1173, allocations: 40 kB / 371 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.138/0.2554, allocations: 21.8 kB / 371 MB, free: 25.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.257, allocations: 0.6316 MB / 371.6 MB, free: 25.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004443/0.2614, allocations: 3.198 MB / 374.8 MB, free: 23.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.2627, allocations: 0.6146 MB / 375.4 MB, free: 23.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.2632, allocations: 303.7 kB / 375.7 MB, free: 23.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.689e-05/0.2633, allocations: 19.11 kB / 375.8 MB, free: 23.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006045/0.2639, allocations: 342.2 kB / 376.1 MB, free: 23.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.725e-06/0.2639, allocations: 2.375 kB / 376.1 MB, free: 23.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.005438/0.2693, allocations: 3.052 MB / 379.1 MB, free: 21.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.2694, allocations: 63.95 kB / 379.2 MB, free: 21.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.2704, allocations: 0.9349 MB / 380.1 MB, free: 21.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.2705, allocations: 41.27 kB / 380.2 MB, free: 21.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.2707, allocations: 0.5098 MB / 380.7 MB, free: 20.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.2709, allocations: 345.4 kB / 381 MB, free: 20.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.2711, allocations: 160.4 kB / 381.2 MB, free: 20.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.193e-05/0.2712, allocations: 342.7 kB / 381.5 MB, free: 19.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.2717, allocations: 269.7 kB / 381.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/0.2723, allocations: 436.1 kB / 382.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.2734, allocations: 0.7473 MB / 383 MB, free: 19.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2734, allocations: 2.625 kB / 383 MB, free: 19.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001684/0.2751, allocations: 1.03 MB / 384 MB, free: 18.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2751, allocations: 7.812 kB / 384 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2751, allocations: 3.375 kB / 384 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.2756, allocations: 153.8 kB / 384.2 MB, free: 18.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/0.2763, allocations: 203.5 kB / 384.4 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.2791, allocations: 3.994 MB / 388.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.2796, allocations: 25.56 kB / 388.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.2797, allocations: 36.53 kB / 388.4 MB, free: 15.08 MB / 302.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.0003851/0.2801, allocations: 309.2 kB / 388.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.2802, allocations: 104.2 kB / 388.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.2819, allocations: 0.9576 MB / 389.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.2819, allocations: 17.33 kB / 389.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2819, allocations: 3.938 kB / 389.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.282, allocations: 4.781 kB / 389.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.2854, allocations: 2.469 MB / 392.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.2854, allocations: 3.938 kB / 392.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007221/0.2862, allocations: 182.3 kB / 392.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003138/0.2865, allocations: 123.5 kB / 392.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.2865, allocations: 31.48 kB / 392.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.2888, allocations: 3.589 MB / 396.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2888, allocations: 8.875 kB / 396.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.2908, allocations: 1.433 MB / 397.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.2911, allocations: 249.6 kB / 397.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.2912, allocations: 24.75 kB / 397.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.2916, allocations: 21.06 kB / 397.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.2917, allocations: 82.11 kB / 398 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.2918, allocations: 25.81 kB / 398 MB, free: 8.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006515/0.2925, allocations: 0.6663 MB / 398.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2925, allocations: 4 kB / 398.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008511/0.2933, allocations: 241.7 kB / 398.9 MB, free: 7.984 MB / 302.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.0008925/0.2942, allocations: 447.7 kB / 399.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.2957, allocations: 1.038 MB / 400.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2957, allocations: 0.875 kB / 400.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008173/0.2966, allocations: 0.6963 MB / 401.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.2975, allocations: 187.5 kB / 401.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.3003, allocations: 2.579 MB / 403.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.3007, allocations: 1.096 MB / 405 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003408/0.3011, allocations: 123.5 kB / 405.1 MB, free: 2.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.3013, allocations: 75.41 kB / 405.2 MB, free: 2.582 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3013, allocations: 4 kB / 405.2 MB, free: 2.578 MB / 302.1 MB Notification: Performance of Templates: time 0.01836/0.3196, allocations: 10.96 MB / 416.1 MB, free: 7.707 MB / 318.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches