Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 199.9 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007194/0.0007192, allocations: 99.39 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002248/0.0002248, allocations: 4 kB / 360.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1893, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.0042/0.1935, allocations: 5.441 MB / 417.5 MB, free: 20.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.1973, allocations: 2.8 MB / 420.3 MB, free: 17.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004914/0.1978, allocations: 31.81 kB / 420.3 MB, free: 17.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.1984, allocations: 370.2 kB / 420.7 MB, free: 17.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000781/0.1992, allocations: 425.6 kB / 421.1 MB, free: 16.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.2001, allocations: 471.3 kB / 421.6 MB, free: 16.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009077/0.201, allocations: 1.406 MB / 423 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005461/0.2016, allocations: 483.6 kB / 423.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.2021, allocations: 465.8 kB / 423.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.2025, allocations: 0.5675 MB / 424.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.514e-05/0.2026, allocations: 52 kB / 424.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.2028, allocations: 95.98 kB / 424.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.203, allocations: 230.9 kB / 424.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.2034, allocations: 0.5686 MB / 425.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009246/0.2043, allocations: 1.527 MB / 426.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2043, allocations: 0 / 426.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2043, allocations: 0 / 426.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.2043, allocations: 0 / 426.9 MB, free: 10.81 MB / 298.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.001923/0.2063, allocations: 1.34 MB / 428.3 MB, free: 9.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2063, allocations: 12.03 kB / 428.3 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003019/0.2066, allocations: 155.1 kB / 428.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.2074, allocations: 0.747 MB / 429.2 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.2075, allocations: 74.12 kB / 429.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.2076, allocations: 111.9 kB / 429.4 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.2089, allocations: 0.9078 MB / 430.3 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.2089, allocations: 11.91 kB / 430.3 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/0.209, allocations: 40 kB / 430.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.209, allocations: 24 kB / 430.3 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.21, allocations: 0.6364 MB / 431 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.2135, allocations: 3.244 MB / 434.2 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.2146, allocations: 0.6156 MB / 434.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.2151, allocations: 305.3 kB / 435.1 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.2151, allocations: 12.64 kB / 435.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.2157, allocations: 348.3 kB / 435.5 MB, free: 2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=80): time 2.906e-06/0.2157, allocations: 0 / 435.5 MB, free: 2 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.005093/0.2208, allocations: 3.074 MB / 438.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.2209, allocations: 64.41 kB / 438.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.2219, allocations: 0.9352 MB / 439.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.222, allocations: 45.64 kB / 439.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.2224, allocations: 0.5117 MB / 440.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.2226, allocations: 350.9 kB / 440.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.2226, allocations: 20 kB / 440.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2228, allocations: 349.9 kB / 440.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.2233, allocations: 269.9 kB / 441.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/0.2239, allocations: 429.4 kB / 441.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.225, allocations: 0.7366 MB / 442.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.225, allocations: 0 / 442.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001685/0.2267, allocations: 1.036 MB / 443.3 MB, free: 9.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2267, allocations: 8 kB / 443.3 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2268, allocations: 4 kB / 443.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004219/0.2272, allocations: 142 kB / 443.4 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/0.228, allocations: 211.8 kB / 443.6 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.2311, allocations: 3.618 MB / 447.2 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.2316, allocations: 31.98 kB / 447.3 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.2317, allocations: 36 kB / 447.3 MB, free: 5.648 MB / 314.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 (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.0004296/0.2321, allocations: 301.6 kB / 447.6 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.2323, allocations: 106.8 kB / 447.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.234, allocations: 0.9557 MB / 448.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.234, allocations: 15.98 kB / 448.7 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.2341, allocations: 7.938 kB / 448.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.2341, allocations: 3.984 kB / 448.7 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/0.2378, allocations: 2.514 MB / 451.2 MB, free: 1.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2378, allocations: 0 / 451.2 MB, free: 1.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007494/0.2386, allocations: 183.8 kB / 451.4 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003661/0.239, allocations: 121.6 kB / 451.5 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.2391, allocations: 27.98 kB / 451.5 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.2419, allocations: 3.295 MB / 454.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2419, allocations: 4.141 kB / 454.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.2441, allocations: 1.434 MB / 456.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.2446, allocations: 251.6 kB / 456.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.2447, allocations: 24 kB / 456.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.2452, allocations: 27.98 kB / 456.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.2453, allocations: 68.91 kB / 456.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.537e-05/0.2454, allocations: 39.92 kB / 456.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008324/0.2462, allocations: 0.6591 MB / 457.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2462, allocations: 4 kB / 457.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008667/0.2471, allocations: 240.1 kB / 457.6 MB, free: 10.89 MB / 330.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 (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.001039/0.2482, allocations: 0.4956 MB / 458.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.25, allocations: 1.041 MB / 459.1 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.25, allocations: 0 / 459.1 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.251, allocations: 0.6911 MB / 459.8 MB, free: 8.738 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.2522, allocations: 171.8 kB / 460 MB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.2563, allocations: 3.243 MB / 463.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.257, allocations: 1.112 MB / 464.3 MB, free: 4.121 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004301/0.2574, allocations: 115.6 kB / 464.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.2576, allocations: 75.42 kB / 464.5 MB, free: 3.93 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2576, allocations: 0 / 464.5 MB, free: 3.93 MB / 330.7 MB Notification: Performance of Templates: time 0.01839/0.276, allocations: 10.31 MB / 474.8 MB, free: 9.656 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches