Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002484/0.002484, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 52.05 kB / 379 MB, free: 2.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2478, allocations: 53.36 MB / 432.3 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007834/0.2557, allocations: 5.526 MB / 437.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004544/0.2602, allocations: 2.236 MB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007778/0.261, allocations: 35.75 kB / 440.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009218/0.2619, allocations: 425.3 kB / 440.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.2632, allocations: 0.5007 MB / 441 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.2643, allocations: 0.4913 MB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.2661, allocations: 1.496 MB / 443 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006835/0.2668, allocations: 373.2 kB / 443.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009415/0.2677, allocations: 0.5798 MB / 444 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009275/0.2686, allocations: 0.6729 MB / 444.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.2688, allocations: 132 kB / 444.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.2692, allocations: 180 kB / 444.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.2695, allocations: 306.9 kB / 445.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005767/0.2701, allocations: 0.5129 MB / 445.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.2721, allocations: 1.675 MB / 447.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2721, allocations: 0 / 447.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2721, allocations: 0 / 447.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.492e-05/0.2721, allocations: 0 / 447.4 MB, free: 7.711 MB / 350.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.003181/0.2753, allocations: 1.529 MB / 449 MB, free: 6.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2754, allocations: 8.031 kB / 449 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004331/0.2758, allocations: 163.9 kB / 449.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.2772, allocations: 0.6977 MB / 449.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-05/0.2773, allocations: 78.12 kB / 449.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.2774, allocations: 107.9 kB / 450 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.2792, allocations: 0.9118 MB / 450.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/0.2792, allocations: 19.81 kB / 450.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/0.2793, allocations: 40 kB / 451 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.2793, allocations: 27.98 kB / 451 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.2807, allocations: 0.6325 MB / 451.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004943/0.2856, allocations: 2.61 MB / 454.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.287, allocations: 0.5819 MB / 454.8 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/0.2876, allocations: 270.7 kB / 455.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/0.2876, allocations: 8.656 kB / 455.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007127/0.2884, allocations: 344.3 kB / 455.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.985e-06/0.2884, allocations: 3.938 kB / 455.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.00653/0.2949, allocations: 2.938 MB / 458.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.2949, allocations: 60.41 kB / 458.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.2961, allocations: 0.876 MB / 459.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.2962, allocations: 45.7 kB / 459.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005124/0.2967, allocations: 0.5359 MB / 459.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/0.297, allocations: 364.9 kB / 460.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.2973, allocations: 158.7 kB / 460.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2975, allocations: 345.9 kB / 460.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005628/0.298, allocations: 273.9 kB / 461 MB, free: 9.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/0.2987, allocations: 433.4 kB / 461.4 MB, free: 9.383 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.3, allocations: 0.7482 MB / 462.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3, allocations: 0 / 462.2 MB, free: 8.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002032/0.3021, allocations: 1.033 MB / 463.2 MB, free: 7.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.3021, allocations: 8 kB / 463.2 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3021, allocations: 4 kB / 463.2 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/0.3026, allocations: 145.3 kB / 463.4 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008341/0.3034, allocations: 211.7 kB / 463.6 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/0.3077, allocations: 3.701 MB / 467.3 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005717/0.3082, allocations: 28 kB / 467.3 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/0.3083, allocations: 39.98 kB / 467.3 MB, free: 3.211 MB / 366.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.0005326/0.3088, allocations: 297.6 kB / 467.6 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.309, allocations: 115.2 kB / 467.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.311, allocations: 0.959 MB / 468.7 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.311, allocations: 12 kB / 468.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.311, allocations: 3.938 kB / 468.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.311, allocations: 3.984 kB / 468.7 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004124/0.3152, allocations: 2.155 MB / 470.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.3152, allocations: 4.125 kB / 470.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/0.316, allocations: 187.8 kB / 471.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/0.3164, allocations: 118 kB / 471.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/0.3165, allocations: 32 kB / 471.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/0.3199, allocations: 3.316 MB / 474.5 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3199, allocations: 4 kB / 474.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.3225, allocations: 1.451 MB / 476 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/0.3229, allocations: 163.8 kB / 476.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.323, allocations: 23.98 kB / 476.2 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.3235, allocations: 20 kB / 476.2 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.3236, allocations: 84.83 kB / 476.3 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/0.3237, allocations: 35.98 kB / 476.3 MB, free: 9.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008176/0.3245, allocations: 0.6239 MB / 476.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3245, allocations: 0 / 476.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009512/0.3255, allocations: 240 kB / 477.2 MB, free: 9.004 MB / 382.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 (90): * Single equations (assignments): 86 * 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.001743/0.3272, allocations: 479.1 kB / 477.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.3293, allocations: 1.018 MB / 478.7 MB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.964e-06/0.3293, allocations: 4 kB / 478.7 MB, free: 7.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.3305, allocations: 0.6753 MB / 479.3 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.3315, allocations: 169.8 kB / 479.5 MB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.3359, allocations: 2.673 MB / 482.2 MB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.3365, allocations: 0.515 MB / 482.7 MB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.3368, allocations: 75.42 kB / 482.8 MB, free: 3.434 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3368, allocations: 0 / 482.8 MB, free: 3.434 MB / 382.1 MB Notification: Performance of Templates: time 0.03124/0.368, allocations: 23.52 MB / 0.4944 GB, free: 11.9 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.Vehicle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.172519896994345]