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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 93.67 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001628, allocations: 200.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.7 MB / 247.5 MB, free: 11.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002711, allocations: 8 kB / 308.4 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1019, allocations: 51.52 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006948/0.1089, allocations: 5.752 MB / 365.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005444/0.1144, allocations: 2.232 MB / 367.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.1161, allocations: 31.81 kB / 367.9 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.1174, allocations: 366.2 kB / 368.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.1196, allocations: 429.6 kB / 368.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.121, allocations: 439.4 kB / 369.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.1235, allocations: 1.406 MB / 370.5 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.1247, allocations: 491.6 kB / 371 MB, free: 2.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.1259, allocations: 461.8 kB / 371.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009884/0.1269, allocations: 0.5636 MB / 372 MB, free: 1.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.1271, allocations: 52 kB / 372.1 MB, free: 1.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.1276, allocations: 104 kB / 372.2 MB, free: 0.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.128, allocations: 222.9 kB / 372.4 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.1291, allocations: 0.5763 MB / 373 MB, free: 116 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1901/0.3192, allocations: 1.248 MB / 374.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.3193, allocations: 0 / 374.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.3193, allocations: 4.422 kB / 374.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001341/0.3194, allocations: 1.594 kB / 374.2 MB, free: 11.57 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.003802/0.3233, allocations: 1.329 MB / 375.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3233, allocations: 10.91 kB / 375.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.3241, allocations: 156.7 kB / 375.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.3256, allocations: 0.7462 MB / 376.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/0.3257, allocations: 73.88 kB / 376.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/0.3259, allocations: 109 kB / 376.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/0.3284, allocations: 0.9176 MB / 377.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.907e-05/0.3285, allocations: 9.109 kB / 377.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/0.3286, allocations: 40.12 kB / 377.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.3287, allocations: 28.14 kB / 377.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.3302, allocations: 0.6451 MB / 378.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006057/0.3363, allocations: 3.234 MB / 381.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.3378, allocations: 0.6299 MB / 382.1 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.3383, allocations: 297.1 kB / 382.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.069e-05/0.3384, allocations: 16.77 kB / 382.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007193/0.3392, allocations: 348.2 kB / 382.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 3.767e-06/0.3392, allocations: 0 / 382.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.006583/0.3458, allocations: 3.083 MB / 385.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3458, allocations: 71.11 kB / 385.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.3475, allocations: 0.946 MB / 386.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-05/0.3476, allocations: 42.14 kB / 386.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.348, allocations: 0.5131 MB / 387.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.3483, allocations: 346.2 kB / 387.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3484, allocations: 78.47 kB / 387.9 MB, free: 6.551 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.3485, allocations: 348.2 kB / 388.2 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/0.3491, allocations: 275.8 kB / 388.5 MB, free: 6.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006382/0.3498, allocations: 437.3 kB / 388.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.351, allocations: 0.7469 MB / 389.6 MB, free: 5.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.351, allocations: 1.844 kB / 389.6 MB, free: 5.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002053/0.3531, allocations: 1.032 MB / 390.7 MB, free: 5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3531, allocations: 6.375 kB / 390.7 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3531, allocations: 8 kB / 390.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004934/0.3536, allocations: 144.9 kB / 390.8 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/0.3544, allocations: 209.6 kB / 391 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.3575, allocations: 3.622 MB / 394.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.3583, allocations: 40.02 kB / 394.7 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.3584, allocations: 35.98 kB / 394.7 MB, free: 1.695 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.0006994/0.3591, allocations: 303.8 kB / 395 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.3594, allocations: 114.3 kB / 395.1 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.3614, allocations: 0.9561 MB / 396.1 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.3614, allocations: 10.06 kB / 396.1 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.3614, allocations: 4.375 kB / 396.1 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.3614, allocations: 5.062 kB / 396.1 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/0.3661, allocations: 2.521 MB / 398.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.3662, allocations: 2.5 kB / 398.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007756/0.3669, allocations: 183.2 kB / 398.8 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004332/0.3674, allocations: 126.6 kB / 398.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.3675, allocations: 25.45 kB / 399 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003109/0.3706, allocations: 3.299 MB / 402.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3706, allocations: 2.906 kB / 402.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.3732, allocations: 1.442 MB / 403.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005699/0.3738, allocations: 246.2 kB / 404 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.374, allocations: 25 kB / 404 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.3746, allocations: 25.61 kB / 404 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.3748, allocations: 78.03 kB / 404.1 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.3749, allocations: 33.73 kB / 404.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001085/0.376, allocations: 0.6646 MB / 404.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.376, allocations: 1.625 kB / 404.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001251/0.3772, allocations: 244 kB / 405 MB, free: 10.52 MB / 318.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.001072/0.3783, allocations: 449.6 kB / 405.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002202/0.3805, allocations: 1.045 MB / 406.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3806, allocations: 0 / 406.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.3817, allocations: 0.7029 MB / 407.2 MB, free: 8.555 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.3835, allocations: 170.2 kB / 407.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.3887, allocations: 3.286 MB / 410.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009096/0.3897, allocations: 1.112 MB / 411.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/0.3901, allocations: 83.41 kB / 411.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of SimCode: time 3.176e-06/0.3901, allocations: 0 / 411.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of Templates: time 0.03053/0.4206, allocations: 22.84 MB / 434.7 MB, free: 13 MB / 350.1 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/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_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches