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.001692/0.001692, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 217.7 kB / 18.92 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 247.1 MB, free: 10.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 59.41 kB / 307.1 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.0994, allocations: 50.54 MB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008514/0.1079, allocations: 6.223 MB / 363.9 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004726/0.1127, allocations: 2.266 MB / 366.2 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.114, allocations: 27.88 kB / 366.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.1151, allocations: 366.2 kB / 366.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.1166, allocations: 429.6 kB / 367 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.1178, allocations: 439.5 kB / 367.4 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002072/0.1199, allocations: 1.488 MB / 368.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008751/0.1208, allocations: 0.5474 MB / 369.4 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009184/0.1217, allocations: 0.5564 MB / 370 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008401/0.1226, allocations: 0.6534 MB / 370.6 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.1228, allocations: 132 kB / 370.8 MB, free: 1.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.1231, allocations: 175.9 kB / 370.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003052/0.1234, allocations: 306.9 kB / 371.2 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006809/0.1241, allocations: 0.6528 MB / 371.9 MB, free: 76 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1604/0.2846, allocations: 1.304 MB / 373.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2846, allocations: 0.9688 kB / 373.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2846, allocations: 0 / 373.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.28e-05/0.2847, allocations: 0 / 373.2 MB, free: 12.45 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.002904/0.2876, allocations: 1.562 MB / 374.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.2876, allocations: 9.75 kB / 374.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/0.2881, allocations: 149 kB / 374.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.2892, allocations: 0.751 MB / 375.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.428e-05/0.2893, allocations: 77.31 kB / 375.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.2895, allocations: 106.5 kB / 375.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.2912, allocations: 0.9142 MB / 376.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.533e-05/0.2913, allocations: 8.312 kB / 376.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/0.2913, allocations: 42.38 kB / 376.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.2914, allocations: 27.16 kB / 376.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.2926, allocations: 0.6336 MB / 377.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004887/0.2975, allocations: 3.234 MB / 380.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.2988, allocations: 0.616 MB / 381.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/0.2993, allocations: 296.7 kB / 381.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.174e-05/0.2994, allocations: 17.67 kB / 381.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000743/0.3001, allocations: 343.4 kB / 382 MB, free: 9.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.906e-06/0.3001, allocations: 0 / 382 MB, free: 9.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.005882/0.306, allocations: 3.063 MB / 385 MB, free: 7.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.3061, allocations: 62.91 kB / 385.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.3074, allocations: 0.9442 MB / 386 MB, free: 7.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.3075, allocations: 42 kB / 386.1 MB, free: 7.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.3079, allocations: 0.5122 MB / 386.6 MB, free: 6.949 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.3081, allocations: 351.8 kB / 386.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.3083, allocations: 162.8 kB / 387.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.3084, allocations: 346.3 kB / 387.4 MB, free: 6.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004928/0.3089, allocations: 269 kB / 387.7 MB, free: 6.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005424/0.3094, allocations: 431 kB / 388.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.3105, allocations: 0.7422 MB / 388.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3105, allocations: 1.406 kB / 388.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001778/0.3123, allocations: 1.031 MB / 389.9 MB, free: 5.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.3124, allocations: 12.5 kB / 389.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3124, allocations: 3.844 kB / 389.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004444/0.3128, allocations: 143.7 kB / 390 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/0.3136, allocations: 206.8 kB / 390.2 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.3165, allocations: 3.994 MB / 394.2 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/0.3172, allocations: 36.97 kB / 394.3 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.125e-05/0.3173, allocations: 33.47 kB / 394.3 MB, free: 1.398 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.0005665/0.3179, allocations: 298.2 kB / 394.6 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.3181, allocations: 109.7 kB / 394.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.3198, allocations: 0.9576 MB / 395.7 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3198, allocations: 12.16 kB / 395.7 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3198, allocations: 6.75 kB / 395.7 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.3198, allocations: 5.172 kB / 395.7 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/0.324, allocations: 2.503 MB / 398.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.324, allocations: 3.094 kB / 398.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/0.3248, allocations: 188.2 kB / 398.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003791/0.3252, allocations: 125.5 kB / 398.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.3253, allocations: 25.67 kB / 398.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00365/0.3289, allocations: 3.601 MB / 402.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3289, allocations: 4.062 kB / 402.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.3315, allocations: 1.426 MB / 403.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.332, allocations: 243.2 kB / 403.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.3322, allocations: 24.8 kB / 403.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.3326, allocations: 29.06 kB / 403.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.3328, allocations: 78.09 kB / 403.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.3329, allocations: 33.2 kB / 403.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009/0.3338, allocations: 0.6692 MB / 404.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3338, allocations: 0 / 404.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001102/0.3349, allocations: 239.5 kB / 404.9 MB, free: 10.16 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.001662/0.3366, allocations: 444.6 kB / 405.3 MB, free: 9.941 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002683/0.3393, allocations: 1.092 MB / 406.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.3393, allocations: 4 kB / 406.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.3405, allocations: 0.6914 MB / 407.1 MB, free: 8.262 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.3417, allocations: 181.1 kB / 407.2 MB, free: 8.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.3468, allocations: 3.112 MB / 410.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008962/0.3477, allocations: 1.112 MB / 411.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.3481, allocations: 83.41 kB / 411.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of SimCode: time 1.492e-06/0.3481, allocations: 0 / 411.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of Templates: time 0.03221/0.3803, allocations: 23.03 MB / 434.6 MB, free: 12.7 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.1.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