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.001808/0.001808, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001975, allocations: 64.73 kB / 307 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1074, allocations: 50.55 MB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008349/0.1158, allocations: 6.25 MB / 363.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004816/0.1206, allocations: 2.287 MB / 366.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.1218, allocations: 27.88 kB / 366.1 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.1229, allocations: 429.4 kB / 366.5 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.1241, allocations: 0.4889 MB / 367 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1252, allocations: 487.1 kB / 367.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.1268, allocations: 1.488 MB / 369 MB, free: 2.551 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000795/0.1276, allocations: 0.5474 MB / 369.5 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007578/0.1284, allocations: 0.5564 MB / 370.1 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007475/0.1292, allocations: 0.6378 MB / 370.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.1293, allocations: 132 kB / 370.8 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003261/0.1297, allocations: 184 kB / 371 MB, free: 480 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.13, allocations: 310.9 kB / 371.3 MB, free: 168 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1576/0.2875, allocations: 0.6404 MB / 372 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.2895, allocations: 1.626 MB / 373.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2895, allocations: 0.75 kB / 373.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2895, allocations: 0 / 373.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.2895, allocations: 0.5312 kB / 373.6 MB, free: 10.97 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.002486/0.292, allocations: 1.559 MB / 375.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2921, allocations: 10.12 kB / 375.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.2925, allocations: 148.8 kB / 375.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.2936, allocations: 0.7517 MB / 376 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/0.2937, allocations: 79.56 kB / 376.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.2938, allocations: 106.2 kB / 376.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.2954, allocations: 0.9142 MB / 377.1 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.2955, allocations: 11.03 kB / 377.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/0.2955, allocations: 40.05 kB / 377.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.2956, allocations: 27.47 kB / 377.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.2968, allocations: 0.6367 MB / 377.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004646/0.3014, allocations: 3.237 MB / 381.1 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.3027, allocations: 0.6126 MB / 381.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/0.3032, allocations: 300 kB / 382 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.502e-05/0.3032, allocations: 13.05 kB / 382 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006638/0.3039, allocations: 346.4 kB / 382.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.605e-06/0.3039, allocations: 0 / 382.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.005652/0.3096, allocations: 3.061 MB / 385.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3096, allocations: 66.09 kB / 385.5 MB, free: 6.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.3108, allocations: 0.9408 MB / 386.4 MB, free: 5.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.3109, allocations: 45.48 kB / 386.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.3112, allocations: 0.5103 MB / 387 MB, free: 5.281 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.3114, allocations: 346.7 kB / 387.3 MB, free: 5.016 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.3116, allocations: 162.8 kB / 387.5 MB, free: 4.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.3117, allocations: 349.2 kB / 387.8 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.3122, allocations: 267.1 kB / 388.1 MB, free: 4.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.3127, allocations: 431 kB / 388.5 MB, free: 4.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.3139, allocations: 0.7422 MB / 389.2 MB, free: 3.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3139, allocations: 1.094 kB / 389.2 MB, free: 3.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001677/0.3156, allocations: 1.027 MB / 390.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3156, allocations: 10.08 kB / 390.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.3156, allocations: 4.25 kB / 390.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/0.316, allocations: 148.6 kB / 390.4 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.3167, allocations: 207 kB / 390.6 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.3195, allocations: 3.989 MB / 394.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.32, allocations: 33.77 kB / 394.6 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.32, allocations: 36.7 kB / 394.7 MB, free: 15.73 MB / 318.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.0004676/0.3205, allocations: 299.8 kB / 395 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.3207, allocations: 109.5 kB / 395.1 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.3224, allocations: 0.952 MB / 396 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3224, allocations: 13.64 kB / 396 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3224, allocations: 5.344 kB / 396.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.3225, allocations: 3.422 kB / 396.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/0.3263, allocations: 2.513 MB / 398.6 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3263, allocations: 5.156 kB / 398.6 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/0.327, allocations: 187.4 kB / 398.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.3274, allocations: 122.7 kB / 398.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.3274, allocations: 23.44 kB / 398.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003143/0.3306, allocations: 3.601 MB / 402.5 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3306, allocations: 7.5 kB / 402.5 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.3327, allocations: 1.428 MB / 403.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.3331, allocations: 242.1 kB / 404.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.3332, allocations: 26.5 kB / 404.2 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.3336, allocations: 32.61 kB / 404.2 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.3338, allocations: 70.03 kB / 404.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.3338, allocations: 32.05 kB / 404.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007874/0.3346, allocations: 0.67 MB / 405 MB, free: 8.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3346, allocations: 0 / 405 MB, free: 8.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009373/0.3356, allocations: 247 kB / 405.2 MB, free: 8.504 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.001514/0.3371, allocations: 452.5 kB / 405.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.3394, allocations: 1.09 MB / 406.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3394, allocations: 0 / 406.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.3405, allocations: 0.7016 MB / 407.5 MB, free: 6.859 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009356/0.3414, allocations: 189 kB / 407.7 MB, free: 6.684 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.3455, allocations: 2.595 MB / 410.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007594/0.3462, allocations: 1.096 MB / 411.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004219/0.3467, allocations: 123.6 kB / 411.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.3468, allocations: 71.42 kB / 411.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3468, allocations: 0 / 411.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of Templates: time 0.0214/0.3683, allocations: 10.99 MB / 422.5 MB, free: 7.844 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.1.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