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.00102/0.00102, allocations: 95.33 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 203.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.00026, allocations: 8 kB / 307.7 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.09615, allocations: 51.52 MB / 359.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007068/0.1033, allocations: 5.755 MB / 365 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004678/0.108, allocations: 2.232 MB / 367.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.1085, allocations: 31.81 kB / 367.3 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007581/0.1093, allocations: 362.2 kB / 367.6 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.1105, allocations: 433.6 kB / 368.1 MB, free: 4.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008797/0.1113, allocations: 435.4 kB / 368.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.1127, allocations: 1.41 MB / 369.9 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000727/0.1134, allocations: 483.6 kB / 370.4 MB, free: 2.129 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006236/0.1141, allocations: 465.8 kB / 370.8 MB, free: 1.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005947/0.1147, allocations: 0.5636 MB / 371.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.85e-05/0.1148, allocations: 52 kB / 371.4 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.1151, allocations: 104 kB / 371.5 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.1153, allocations: 218.9 kB / 371.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004796/0.1158, allocations: 0.5802 MB / 372.3 MB, free: 152 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1723/0.2881, allocations: 1.521 MB / 373.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2881, allocations: 1.031 kB / 373.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2881, allocations: 0.5 kB / 373.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.2882, allocations: 0 / 373.9 MB, free: 10.72 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.002182/0.2903, allocations: 1.336 MB / 375.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2904, allocations: 9 kB / 375.2 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.2908, allocations: 152.5 kB / 375.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009562/0.2917, allocations: 0.7486 MB / 376.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.2918, allocations: 72.59 kB / 376.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.292, allocations: 111.7 kB / 376.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.2937, allocations: 0.9171 MB / 377.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.2938, allocations: 13.05 kB / 377.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.2939, allocations: 39.95 kB / 377.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.2939, allocations: 27.12 kB / 377.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.2951, allocations: 0.6425 MB / 377.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004415/0.2995, allocations: 3.24 MB / 381.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.3008, allocations: 0.6208 MB / 381.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.3013, allocations: 302.9 kB / 382.1 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.289e-05/0.3013, allocations: 20.09 kB / 382.1 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006354/0.302, allocations: 344.8 kB / 382.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.124e-06/0.302, allocations: 0 / 382.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.005534/0.3075, allocations: 3.081 MB / 385.5 MB, free: 6.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.3076, allocations: 62.22 kB / 385.6 MB, free: 6.777 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3087, allocations: 0.9496 MB / 386.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.3088, allocations: 44.92 kB / 386.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.3091, allocations: 0.5156 MB / 387.1 MB, free: 5.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.3093, allocations: 346.4 kB / 387.4 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-05/0.3094, allocations: 75.86 kB / 387.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.3094, allocations: 351.3 kB / 387.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.3099, allocations: 272.8 kB / 388.1 MB, free: 5.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.3105, allocations: 436.2 kB / 388.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3116, allocations: 0.7498 MB / 389.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3116, allocations: 3.594 kB / 389.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001724/0.3134, allocations: 1.032 MB / 390.3 MB, free: 4.094 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3134, allocations: 7.094 kB / 390.3 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3134, allocations: 7.344 kB / 390.3 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004051/0.3138, allocations: 141.3 kB / 390.5 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.3146, allocations: 208.3 kB / 390.7 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/0.3173, allocations: 3.625 MB / 394.3 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.3178, allocations: 37.75 kB / 394.3 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.3179, allocations: 36.94 kB / 394.4 MB, free: 0.7891 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.000479/0.3183, allocations: 303.7 kB / 394.7 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.3185, allocations: 107.5 kB / 394.8 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.3202, allocations: 0.963 MB / 395.7 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3202, allocations: 9.625 kB / 395.7 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3202, allocations: 2.75 kB / 395.7 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.3202, allocations: 5.297 kB / 395.7 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.3242, allocations: 2.513 MB / 398.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.3242, allocations: 6.969 kB / 398.3 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007316/0.3249, allocations: 192.6 kB / 398.5 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003261/0.3253, allocations: 128.7 kB / 398.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.3253, allocations: 26.12 kB / 398.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/0.3281, allocations: 3.29 MB / 401.9 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3281, allocations: 2.219 kB / 401.9 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.3302, allocations: 1.442 MB / 403.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.3305, allocations: 242.6 kB / 403.6 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.3306, allocations: 28.94 kB / 403.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.331, allocations: 28.09 kB / 403.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.3312, allocations: 81.98 kB / 403.7 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/0.3312, allocations: 29.33 kB / 403.7 MB, free: 9.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007662/0.332, allocations: 0.6722 MB / 404.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.332, allocations: 0 / 404.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009238/0.3329, allocations: 244.5 kB / 404.7 MB, free: 9.59 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.0009659/0.3339, allocations: 448.8 kB / 405.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.3356, allocations: 1.041 MB / 406.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3356, allocations: 0 / 406.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.3366, allocations: 0.7069 MB / 406.8 MB, free: 8.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.338, allocations: 170.2 kB / 407 MB, free: 7.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.3419, allocations: 3.239 MB / 410.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/0.3426, allocations: 1.112 MB / 411.4 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000394/0.343, allocations: 119.6 kB / 411.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.3432, allocations: 71.42 kB / 411.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3432, allocations: 4 kB / 411.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of Templates: time 0.01951/0.3627, allocations: 10.31 MB / 421.9 MB, free: 9.023 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches