Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007683/0.0007684, allocations: 94.56 kB / 17.31 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 179.8 kB / 18.21 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.119/1.119, allocations: 223.3 MB / 242.3 MB, free: 14.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002119/0.0002118, allocations: 8.594 kB / 302.1 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07063/0.07085, allocations: 50.41 MB / 352.5 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.005153/0.07602, allocations: 5.738 MB / 358.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.07924, allocations: 2.08 MB / 360.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005921/0.07985, allocations: 27.88 kB / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.08051, allocations: 370.2 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009034/0.08142, allocations: 389.7 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008748/0.08231, allocations: 467.4 kB / 361.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.08356, allocations: 1.41 MB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005665/0.08414, allocations: 475.6 kB / 363.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.08456, allocations: 457.8 kB / 363.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.08509, allocations: 0.5636 MB / 364.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.69e-05/0.08518, allocations: 52 kB / 364.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.08536, allocations: 91.98 kB / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.08555, allocations: 218.9 kB / 364.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.08597, allocations: 0.5764 MB / 365.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008675/0.08684, allocations: 1.239 MB / 366.6 MB, free: 5.281 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.08685, allocations: 4 kB / 366.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.08686, allocations: 0 / 366.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.08687, allocations: 4 kB / 366.6 MB, free: 5.273 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.001893/0.08877, allocations: 1.329 MB / 367.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.0888, allocations: 8.031 kB / 367.9 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.08897, allocations: 143.2 kB / 368.1 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008629/0.08984, allocations: 0.7431 MB / 368.8 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/0.08991, allocations: 78.12 kB / 368.9 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.09005, allocations: 107.9 kB / 369 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.09142, allocations: 0.9156 MB / 369.9 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.09147, allocations: 11.91 kB / 369.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/0.09155, allocations: 40 kB / 370 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.09157, allocations: 24 kB / 370 MB, free: 1.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.09269, allocations: 0.6442 MB / 370.6 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1207/0.2134, allocations: 3.234 MB / 373.9 MB, free: 22.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.2147, allocations: 0.626 MB / 374.5 MB, free: 22.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/0.2151, allocations: 300.7 kB / 374.8 MB, free: 22.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.2152, allocations: 15.97 kB / 374.8 MB, free: 22.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005877/0.2158, allocations: 346.3 kB / 375.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.374e-06/0.2158, allocations: 0.875 kB / 375.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.004901/0.2207, allocations: 3.089 MB / 378.2 MB, free: 21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.2207, allocations: 65.38 kB / 378.3 MB, free: 20.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009739/0.2217, allocations: 0.9348 MB / 379.2 MB, free: 20.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.2218, allocations: 45.61 kB / 379.3 MB, free: 20.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.222, allocations: 0.5092 MB / 379.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.2222, allocations: 346.1 kB / 380.1 MB, free: 19.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.2223, allocations: 81.58 kB / 380.2 MB, free: 19.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.611e-05/0.2223, allocations: 347.4 kB / 380.5 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/0.2228, allocations: 271.2 kB / 380.8 MB, free: 19.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.2233, allocations: 435.5 kB / 381.2 MB, free: 19.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009724/0.2243, allocations: 0.7456 MB / 382 MB, free: 18.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2243, allocations: 0.9375 kB / 382 MB, free: 18.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001545/0.2259, allocations: 1.038 MB / 383 MB, free: 18.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2259, allocations: 7.484 kB / 383 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2259, allocations: 3.156 kB / 383 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/0.2263, allocations: 148.8 kB / 383.2 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.227, allocations: 212.6 kB / 383.4 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.2294, allocations: 3.617 MB / 387 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.2298, allocations: 34.31 kB / 387 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.2299, allocations: 37.22 kB / 387.1 MB, free: 14.89 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.0003248/0.2302, allocations: 303.8 kB / 387.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2303, allocations: 109.4 kB / 387.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.2318, allocations: 0.9664 MB / 388.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.2318, allocations: 10.16 kB / 388.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2318, allocations: 2.531 kB / 388.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.2319, allocations: 8.672 kB / 388.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/0.2351, allocations: 2.503 MB / 391 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2351, allocations: 7.562 kB / 391 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/0.2358, allocations: 180.3 kB / 391.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.2361, allocations: 128.9 kB / 391.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/0.2361, allocations: 28.47 kB / 391.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.2381, allocations: 3.292 MB / 394.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2381, allocations: 8.75 kB / 394.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.2399, allocations: 1.442 MB / 396 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.2401, allocations: 242.3 kB / 396.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.2402, allocations: 23.64 kB / 396.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.2406, allocations: 26.41 kB / 396.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.2407, allocations: 82.19 kB / 396.4 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/0.2408, allocations: 31.03 kB / 396.4 MB, free: 8.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006226/0.2414, allocations: 0.6634 MB / 397.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2414, allocations: 1.625 kB / 397.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007526/0.2421, allocations: 241.3 kB / 397.3 MB, free: 8.391 MB / 302.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.0008226/0.243, allocations: 452.4 kB / 397.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.2444, allocations: 1.048 MB / 398.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2444, allocations: 0 / 398.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007649/0.2451, allocations: 0.6961 MB / 399.5 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.2462, allocations: 168.3 kB / 399.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.2491, allocations: 3.286 MB / 403 MB, free: 4.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.2495, allocations: 1.1 MB / 404.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.2497, allocations: 87.41 kB / 404.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2497, allocations: 0 / 404.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of Templates: time 0.02199/0.2717, allocations: 22.73 MB / 426.9 MB, free: 12.67 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches