Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009679/0.0009679, allocations: 96.39 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009071/0.0009073, allocations: 55.91 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1955, allocations: 50.44 MB / 407 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.00565/0.2012, allocations: 6.231 MB / 413.3 MB, free: 21.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.2044, allocations: 2.272 MB / 415.5 MB, free: 19.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/0.205, allocations: 31.88 kB / 415.6 MB, free: 19.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.2056, allocations: 366.2 kB / 415.9 MB, free: 18.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007477/0.2064, allocations: 437.5 kB / 416.4 MB, free: 18.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007922/0.2072, allocations: 465 kB / 416.8 MB, free: 18.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008712/0.208, allocations: 1.418 MB / 418.2 MB, free: 16.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004894/0.2085, allocations: 499.6 kB / 418.7 MB, free: 16.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.209, allocations: 0.49 MB / 419.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004242/0.2094, allocations: 0.6181 MB / 419.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.2095, allocations: 72 kB / 419.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.2098, allocations: 116 kB / 420 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.2099, allocations: 254.8 kB / 420.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003217/0.2103, allocations: 0.5864 MB / 420.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008063/0.2111, allocations: 1.562 MB / 422.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2111, allocations: 4 kB / 422.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.2111, allocations: 0 / 422.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.2111, allocations: 0 / 422.4 MB, free: 12.39 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.002033/0.2132, allocations: 1.566 MB / 424 MB, free: 10.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2132, allocations: 8.031 kB / 424 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/0.2135, allocations: 155.1 kB / 424.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008157/0.2143, allocations: 0.7431 MB / 424.9 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.2144, allocations: 78.12 kB / 425 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.2145, allocations: 107.9 kB / 425.1 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.2157, allocations: 0.9079 MB / 426 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.2157, allocations: 7.906 kB / 426 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.2158, allocations: 40 kB / 426 MB, free: 8.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.2158, allocations: 24 kB / 426 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00097/0.2168, allocations: 0.6363 MB / 426.7 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.2203, allocations: 3.248 MB / 429.9 MB, free: 4.641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.2214, allocations: 0.6261 MB / 430.5 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.2218, allocations: 300.2 kB / 430.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.2219, allocations: 12.64 kB / 430.9 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006097/0.2225, allocations: 344.3 kB / 431.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=80): time 3.095e-06/0.2225, allocations: 0 / 431.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.004897/0.2274, allocations: 3.053 MB / 434.2 MB, free: 228 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.2274, allocations: 68.41 kB / 434.3 MB, free: 148 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.2287, allocations: 0.9468 MB / 435.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.2288, allocations: 41.7 kB / 435.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/0.2292, allocations: 0.5157 MB / 435.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.2295, allocations: 343 kB / 436.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.2298, allocations: 158.6 kB / 436.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.23, allocations: 345.9 kB / 436.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.2306, allocations: 273.9 kB / 436.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.2312, allocations: 437.4 kB / 437.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.2323, allocations: 0.7423 MB / 438.1 MB, free: 12.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2323, allocations: 4 kB / 438.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001734/0.2341, allocations: 1.025 MB / 439.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2341, allocations: 8 kB / 439.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2341, allocations: 4 kB / 439.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004484/0.2346, allocations: 153.7 kB / 439.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/0.2353, allocations: 207.7 kB / 439.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003364/0.2387, allocations: 3.615 MB / 443.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.2392, allocations: 28 kB / 443.1 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.2393, allocations: 35.98 kB / 443.1 MB, free: 6.875 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 ($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.0004514/0.2397, allocations: 314.1 kB / 443.5 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.2399, allocations: 106.7 kB / 443.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.2416, allocations: 0.9555 MB / 444.5 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.2416, allocations: 12 kB / 444.5 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2416, allocations: 7.938 kB / 444.5 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2416, allocations: 3.984 kB / 444.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.2453, allocations: 2.49 MB / 447 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2453, allocations: 3.938 kB / 447 MB, free: 2.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007781/0.2461, allocations: 183.8 kB / 447.2 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003499/0.2465, allocations: 134 kB / 447.3 MB, free: 2.527 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.2465, allocations: 20 kB / 447.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/0.2493, allocations: 3.295 MB / 450.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.2493, allocations: 4 kB / 450.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01428/0.2636, allocations: 9.948 MB / 460.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/0.264, allocations: 235.7 kB / 460.8 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.2641, allocations: 32.12 kB / 460.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.2645, allocations: 23.98 kB / 460.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.2647, allocations: 72.88 kB / 461 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.2647, allocations: 35.98 kB / 461 MB, free: 4.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007927/0.2655, allocations: 0.663 MB / 461.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2656, allocations: 0 / 461.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001229/0.2668, allocations: 344 kB / 462 MB, free: 3.09 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.001029/0.2678, allocations: 449.4 kB / 462.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.2697, allocations: 1.026 MB / 463.5 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2697, allocations: 0 / 463.5 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.2708, allocations: 0.6954 MB / 464.2 MB, free: 1.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/0.2717, allocations: 178.2 kB / 464.3 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.2765, allocations: 3.934 MB / 468.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/0.2772, allocations: 1.13 MB / 469.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004613/0.2776, allocations: 135.6 kB / 469.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.2778, allocations: 83.42 kB / 469.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2779, allocations: 0 / 469.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of Templates: time 0.02145/0.2993, allocations: 12.74 MB / 482.3 MB, free: 14.77 MB / 362.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@2/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