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.001906/0.001906, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002125/0.002125, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.59/1.59, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001499/0.001499, allocations: 43.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3226, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.009112/0.3317, allocations: 5.522 MB / 437.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005326/0.337, allocations: 2.232 MB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000882/0.3379, allocations: 39.69 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009657/0.3388, allocations: 425.3 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.3402, allocations: 0.5085 MB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.3414, allocations: 491.1 kB / 441.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001906/0.3433, allocations: 1.496 MB / 443 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007554/0.3441, allocations: 388.8 kB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009535/0.345, allocations: 0.576 MB / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008703/0.3459, allocations: 0.6651 MB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.3461, allocations: 128 kB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.3465, allocations: 183.9 kB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.3468, allocations: 306.9 kB / 445.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005662/0.3474, allocations: 0.513 MB / 445.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.3496, allocations: 1.676 MB / 447.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3496, allocations: 4 kB / 447.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3496, allocations: 0 / 447.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.3497, allocations: 0 / 447.4 MB, free: 7.52 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.003098/0.3527, allocations: 1.528 MB / 449 MB, free: 5.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3528, allocations: 12.03 kB / 449 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000475/0.3533, allocations: 160 kB / 449.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.3547, allocations: 0.6938 MB / 449.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.523e-05/0.3548, allocations: 78.12 kB / 449.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.355, allocations: 111.9 kB / 450 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.3571, allocations: 0.904 MB / 450.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.218e-05/0.3571, allocations: 19.92 kB / 450.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.3572, allocations: 36 kB / 451 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.3573, allocations: 24 kB / 451 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.3591, allocations: 0.6363 MB / 451.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005285/0.3644, allocations: 2.61 MB / 454.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.3663, allocations: 0.5781 MB / 454.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.3669, allocations: 270.7 kB / 455.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.3669, allocations: 8.656 kB / 455.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007571/0.3677, allocations: 356.3 kB / 455.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.995e-06/0.3677, allocations: 0 / 455.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006361/0.374, allocations: 2.932 MB / 458.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.3741, allocations: 68.34 kB / 458.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.3753, allocations: 0.8682 MB / 459.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.3754, allocations: 45.7 kB / 459.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000547/0.3759, allocations: 0.5398 MB / 459.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.3763, allocations: 364.9 kB / 460.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.3765, allocations: 154.7 kB / 460.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.3767, allocations: 349.9 kB / 460.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/0.3773, allocations: 273.8 kB / 461 MB, free: 9.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00076/0.3781, allocations: 437.4 kB / 461.4 MB, free: 9.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.3795, allocations: 0.7483 MB / 462.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.3795, allocations: 4 kB / 462.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00201/0.3815, allocations: 1.025 MB / 463.2 MB, free: 7.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3815, allocations: 8 kB / 463.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3815, allocations: 4 kB / 463.2 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/0.382, allocations: 150 kB / 463.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007848/0.3828, allocations: 203.7 kB / 463.6 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/0.387, allocations: 3.704 MB / 467.3 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.3876, allocations: 27.94 kB / 467.3 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.3876, allocations: 39.98 kB / 467.4 MB, free: 3.027 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.0005766/0.3882, allocations: 305.7 kB / 467.6 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.3884, allocations: 111.2 kB / 467.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.3904, allocations: 0.9472 MB / 468.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3904, allocations: 16 kB / 468.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3904, allocations: 7.984 kB / 468.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.3904, allocations: 3.984 kB / 468.7 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004016/0.3944, allocations: 2.139 MB / 470.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.3944, allocations: 4 kB / 470.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008409/0.3953, allocations: 187.7 kB / 471.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004062/0.3957, allocations: 126 kB / 471.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.3957, allocations: 20 kB / 471.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.3992, allocations: 3.332 MB / 474.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/0.3992, allocations: 7.938 kB / 474.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.4018, allocations: 1.443 MB / 476 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.4022, allocations: 167.1 kB / 476.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.4023, allocations: 24.08 kB / 476.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.4028, allocations: 31.94 kB / 476.2 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.4029, allocations: 76.8 kB / 476.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.403, allocations: 31.98 kB / 476.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008551/0.4038, allocations: 0.624 MB / 476.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4038, allocations: 0 / 476.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009669/0.4048, allocations: 240 kB / 477.2 MB, free: 8.824 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.00174/0.4066, allocations: 493 kB / 477.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.4086, allocations: 1.014 MB / 478.7 MB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4086, allocations: 0 / 478.7 MB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.4098, allocations: 0.6794 MB / 479.3 MB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4108, allocations: 166.1 kB / 479.5 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.4153, allocations: 2.628 MB / 482.1 MB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.416, allocations: 0.5111 MB / 482.6 MB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004389/0.4164, allocations: 111.2 kB / 482.8 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.4166, allocations: 75.41 kB / 482.8 MB, free: 3.191 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4166, allocations: 0 / 482.8 MB, free: 3.191 MB / 382.1 MB Notification: Performance of Templates: time 0.02509/0.4417, allocations: 12.62 MB / 495.4 MB, free: 6.715 MB / 398.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 -s cvode -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: 5.536709445994347]