Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 118.2 kB / 19.17 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 205 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.445/1.445, allocations: 230.5 MB / 255.4 MB, free: 14.91 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-beta.om/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=6000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.83 kB / 374.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1065, allocations: 53.33 MB / 428.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.2111/0.3176, allocations: 6.265 MB / 434.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00382/0.3214, allocations: 2.307 MB / 436.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008566/0.3222, allocations: 36.66 kB / 436.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.323, allocations: 427.2 kB / 437.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.3243, allocations: 0.4999 MB / 437.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3253, allocations: 493 kB / 438.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.3271, allocations: 1.499 MB / 439.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000585/0.3277, allocations: 374.9 kB / 440 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009175/0.3286, allocations: 0.5803 MB / 440.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008407/0.3294, allocations: 0.6715 MB / 441.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.3296, allocations: 129.8 kB / 441.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003811/0.33, allocations: 178.4 kB / 441.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.3302, allocations: 307.3 kB / 441.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005047/0.3308, allocations: 0.6398 MB / 442.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.3327, allocations: 1.667 MB / 444.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3327, allocations: 1.031 kB / 444.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3327, allocations: 0 / 444.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.128e-05/0.3327, allocations: 0 / 444.2 MB, free: 4.105 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.0029/0.3356, allocations: 1.601 MB / 445.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3357, allocations: 9.344 kB / 445.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.3361, allocations: 164.6 kB / 445.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.3373, allocations: 0.7824 MB / 446.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.3374, allocations: 74.5 kB / 446.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.3376, allocations: 107.2 kB / 446.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.3391, allocations: 0.9179 MB / 447.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/0.3392, allocations: 9.094 kB / 447.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/0.3393, allocations: 39.78 kB / 447.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.3393, allocations: 24.44 kB / 447.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.3405, allocations: 0.6391 MB / 448.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00491/0.3454, allocations: 3.197 MB / 451.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.3469, allocations: 0.5788 MB / 452.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.3474, allocations: 270 kB / 452.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.719e-05/0.3475, allocations: 14.88 kB / 452.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007139/0.3482, allocations: 352.1 kB / 452.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.337e-06/0.3482, allocations: 1.188 kB / 452.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006598/0.3548, allocations: 3.081 MB / 456 MB, free: 13.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.3548, allocations: 61.5 kB / 456.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.3562, allocations: 0.9435 MB / 457 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.674e-05/0.3563, allocations: 41.83 kB / 457 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/0.3568, allocations: 0.5258 MB / 457.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.3571, allocations: 363.2 kB / 457.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.3574, allocations: 163.9 kB / 458.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3576, allocations: 348.8 kB / 458.4 MB, free: 12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/0.3581, allocations: 266.7 kB / 458.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.3588, allocations: 433.2 kB / 459.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.3601, allocations: 0.7365 MB / 459.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3601, allocations: 2.062 kB / 459.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002096/0.3622, allocations: 1.035 MB / 460.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3622, allocations: 8.562 kB / 460.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3622, allocations: 7.781 kB / 460.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.3627, allocations: 142.3 kB / 461 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007628/0.3635, allocations: 204.9 kB / 461.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/0.3676, allocations: 3.99 MB / 465.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.3683, allocations: 31.61 kB / 465.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/0.3683, allocations: 33.59 kB / 465.3 MB, free: 6.668 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.0005797/0.3689, allocations: 304.8 kB / 465.6 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.3691, allocations: 114.2 kB / 465.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.371, allocations: 0.9511 MB / 466.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.371, allocations: 9.844 kB / 466.7 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.371, allocations: 6.312 kB / 466.7 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.371, allocations: 5.047 kB / 466.7 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004269/0.3753, allocations: 2.487 MB / 469.2 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.3753, allocations: 3.75 kB / 469.2 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/0.3761, allocations: 177.7 kB / 469.3 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003928/0.3765, allocations: 123.5 kB / 469.5 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.3765, allocations: 35.08 kB / 469.5 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003554/0.3801, allocations: 3.59 MB / 473.1 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.3801, allocations: 6.328 kB / 473.1 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.3827, allocations: 1.438 MB / 474.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/0.3831, allocations: 245.1 kB / 474.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.3833, allocations: 29.03 kB / 474.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.3837, allocations: 29.3 kB / 474.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.3838, allocations: 70.19 kB / 474.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.3839, allocations: 33.67 kB / 474.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008816/0.3848, allocations: 0.6699 MB / 475.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3848, allocations: 0 / 475.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009715/0.3857, allocations: 246.3 kB / 475.8 MB, free: 14.91 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 (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.001545/0.3873, allocations: 451.1 kB / 476.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.3893, allocations: 1.001 MB / 477.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3893, allocations: 3.938 kB / 477.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.3904, allocations: 0.6768 MB / 478 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.3914, allocations: 183.6 kB / 478.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.3957, allocations: 2.647 MB / 480.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007998/0.3965, allocations: 1.104 MB / 481.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.3967, allocations: 83.41 kB / 482 MB, free: 9.648 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3967, allocations: 0 / 482 MB, free: 9.648 MB / 382.1 MB Notification: Performance of Templates: time 0.0306/0.4273, allocations: 23.26 MB / 0.4934 GB, free: 2.375 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 8.91876221797429]