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.001367/0.001367, allocations: 103 kB / 17.16 MB, free: 6.32 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.001408/0.001408, allocations: 190.9 kB / 18.08 MB, free: 5.41 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.391/1.391, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 42.44 kB / 300.6 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.15, allocations: 49.44 MB / 350 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.01248/0.1626, allocations: 6.217 MB / 356.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006003/0.1686, allocations: 2.104 MB / 358.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.1704, allocations: 27.88 kB / 358.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.1718, allocations: 370.2 kB / 358.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.1741, allocations: 397.6 kB / 359.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.1761, allocations: 465.2 kB / 359.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.1788, allocations: 1.402 MB / 361 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.1801, allocations: 487.6 kB / 361.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.1812, allocations: 493.8 kB / 362 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.1825, allocations: 0.6104 MB / 362.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003373/0.1828, allocations: 72 kB / 362.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.1834, allocations: 112 kB / 362.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.1838, allocations: 246.9 kB / 363 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.1848, allocations: 0.5903 MB / 363.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.1863, allocations: 1.278 MB / 364.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1864, allocations: 0 / 364.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1864, allocations: 0 / 364.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.562e-05/0.1864, allocations: 0 / 364.9 MB, free: 5.953 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.003888/0.1903, allocations: 1.543 MB / 366.4 MB, free: 4.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1904, allocations: 16.02 kB / 366.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.1907, allocations: 139.2 kB / 366.6 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.1923, allocations: 0.7431 MB / 367.3 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-05/0.1924, allocations: 82.11 kB / 367.4 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.1926, allocations: 103.9 kB / 367.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.1948, allocations: 0.9117 MB / 368.4 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.418e-05/0.1949, allocations: 11.89 kB / 368.4 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.195, allocations: 40 kB / 368.4 MB, free: 2.262 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.1951, allocations: 24 kB / 368.5 MB, free: 2.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.1969, allocations: 0.6402 MB / 369.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1837/0.3806, allocations: 3.221 MB / 372.3 MB, free: 24.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.3827, allocations: 0.6199 MB / 372.9 MB, free: 24.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/0.3835, allocations: 297.8 kB / 373.2 MB, free: 23.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.964e-05/0.3836, allocations: 20.42 kB / 373.3 MB, free: 23.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.3846, allocations: 344.2 kB / 373.6 MB, free: 23.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 4.037e-06/0.3847, allocations: 0.5312 kB / 373.6 MB, free: 23.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.008777/0.3935, allocations: 3.059 MB / 376.7 MB, free: 22.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3935, allocations: 66.41 kB / 376.7 MB, free: 22.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.3952, allocations: 0.9339 MB / 377.7 MB, free: 21.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.855e-05/0.3953, allocations: 42.3 kB / 377.7 MB, free: 21.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004463/0.3958, allocations: 0.508 MB / 378.2 MB, free: 21.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/0.3961, allocations: 346 kB / 378.5 MB, free: 21.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/0.3964, allocations: 158.3 kB / 378.7 MB, free: 21.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.3965, allocations: 349.4 kB / 379 MB, free: 20.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007991/0.3973, allocations: 270.9 kB / 379.3 MB, free: 20.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/0.3982, allocations: 424.8 kB / 379.7 MB, free: 20.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.3999, allocations: 0.7435 MB / 380.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.4, allocations: 1.062 kB / 380.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002788/0.4028, allocations: 1.039 MB / 381.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.4028, allocations: 5.625 kB / 381.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4028, allocations: 4.75 kB / 381.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/0.4033, allocations: 153.2 kB / 381.7 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.4041, allocations: 206.6 kB / 381.9 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/0.4082, allocations: 3.609 MB / 385.5 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009425/0.4092, allocations: 28.62 kB / 385.5 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.4093, allocations: 41.23 kB / 385.5 MB, free: 16.14 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.000686/0.41, allocations: 305.7 kB / 385.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.4102, allocations: 108.8 kB / 385.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.4127, allocations: 0.9508 MB / 386.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.4128, allocations: 10.44 kB / 386.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.4128, allocations: 2.266 kB / 386.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.4128, allocations: 5.25 kB / 386.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006093/0.4189, allocations: 2.498 MB / 389.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.419, allocations: 4.125 kB / 389.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.4203, allocations: 186 kB / 389.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006857/0.421, allocations: 123.6 kB / 389.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.4211, allocations: 28.36 kB / 389.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.4246, allocations: 3.298 MB / 393 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4246, allocations: 3.969 kB / 393 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.428, allocations: 1.434 MB / 394.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006018/0.4287, allocations: 235.7 kB / 394.7 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.4289, allocations: 23.88 kB / 394.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007558/0.4297, allocations: 31.36 kB / 394.8 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.4299, allocations: 72.56 kB / 394.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.43, allocations: 35.67 kB / 394.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.4314, allocations: 0.6591 MB / 395.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4314, allocations: 0 / 395.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001739/0.4331, allocations: 246 kB / 395.8 MB, free: 9.656 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.00136/0.4345, allocations: 457.1 kB / 396.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.4373, allocations: 1.032 MB / 397.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4373, allocations: 0 / 397.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.4386, allocations: 0.6932 MB / 397.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.4405, allocations: 177.5 kB / 398.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/0.4459, allocations: 3.109 MB / 401.2 MB, free: 6.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007462/0.4467, allocations: 1.098 MB / 402.3 MB, free: 5.176 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.4471, allocations: 83.41 kB / 402.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4471, allocations: 0 / 402.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of Templates: time 0.03522/0.4823, allocations: 22.93 MB / 425.3 MB, free: 14.14 MB / 334.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 -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