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.001268/0.001268, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.00129/0.00129, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.491/1.491, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.001627/0.001627, allocations: 47.92 kB / 374.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09944, allocations: 53.33 MB / 427.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008605/0.108, allocations: 6.267 MB / 433.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.1128, allocations: 2.294 MB / 436 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009784/0.1137, allocations: 39.69 kB / 436.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.1148, allocations: 433.3 kB / 436.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.1163, allocations: 0.5046 MB / 437 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.1175, allocations: 487.1 kB / 437.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.1196, allocations: 1.511 MB / 439 MB, free: 8.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007004/0.1203, allocations: 372.7 kB / 439.4 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008559/0.1212, allocations: 0.5759 MB / 439.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007927/0.122, allocations: 0.6729 MB / 440.6 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.1221, allocations: 128 kB / 440.7 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.1224, allocations: 176 kB / 440.9 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.1227, allocations: 306.9 kB / 441.2 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006049/0.1233, allocations: 0.645 MB / 441.9 MB, free: 5.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.1251, allocations: 1.661 MB / 443.5 MB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1251, allocations: 0 / 443.5 MB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1251, allocations: 0 / 443.5 MB, free: 4.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.895e-05/0.1252, allocations: 4 kB / 443.5 MB, free: 4.184 MB / 366.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.002855/0.128, allocations: 1.604 MB / 445.1 MB, free: 2.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.128, allocations: 8.031 kB / 445.1 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.1285, allocations: 167.9 kB / 445.3 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.1297, allocations: 0.7751 MB / 446.1 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.1298, allocations: 78.12 kB / 446.1 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.13, allocations: 104 kB / 446.2 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.1317, allocations: 0.9117 MB / 447.2 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.1317, allocations: 7.953 kB / 447.2 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/0.1318, allocations: 40 kB / 447.2 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.1318, allocations: 24 kB / 447.2 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1998/0.3316, allocations: 0.6366 MB / 447.9 MB, free: 23.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004933/0.3365, allocations: 3.206 MB / 451.1 MB, free: 22.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.3379, allocations: 0.5661 MB / 451.6 MB, free: 22.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.3384, allocations: 276.3 kB / 451.9 MB, free: 22.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-05/0.3384, allocations: 14.52 kB / 451.9 MB, free: 22.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006758/0.3391, allocations: 341.4 kB / 452.3 MB, free: 22.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.977e-06/0.3391, allocations: 0.625 kB / 452.3 MB, free: 22.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006066/0.3452, allocations: 3.085 MB / 455.3 MB, free: 20.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3452, allocations: 61.64 kB / 455.4 MB, free: 20.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.3466, allocations: 0.9452 MB / 456.3 MB, free: 20.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.3467, allocations: 43.08 kB / 456.4 MB, free: 20.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.347, allocations: 0.5249 MB / 456.9 MB, free: 19.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.3473, allocations: 358.8 kB / 457.3 MB, free: 19.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/0.3476, allocations: 159.5 kB / 457.4 MB, free: 19.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.3477, allocations: 347.2 kB / 457.8 MB, free: 19.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.3483, allocations: 268.7 kB / 458 MB, free: 19.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.3489, allocations: 431.6 kB / 458.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.35, allocations: 0.744 MB / 459.2 MB, free: 18.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.35, allocations: 2.156 kB / 459.2 MB, free: 18.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002094/0.3521, allocations: 1.029 MB / 460.2 MB, free: 18.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.3521, allocations: 11.36 kB / 460.2 MB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.3521, allocations: 3.75 kB / 460.2 MB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/0.3528, allocations: 146.4 kB / 460.4 MB, free: 18.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008696/0.3536, allocations: 214.5 kB / 460.6 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/0.3568, allocations: 3.984 MB / 464.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.3576, allocations: 29.53 kB / 464.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.3576, allocations: 36.31 kB / 464.6 MB, free: 14.43 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.0004952/0.3581, allocations: 304.1 kB / 464.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.3583, allocations: 118.5 kB / 465 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.3603, allocations: 0.9445 MB / 466 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.3604, allocations: 10.92 kB / 466 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.3604, allocations: 8.312 kB / 466 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.3604, allocations: 11.03 kB / 466 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/0.3644, allocations: 2.478 MB / 468.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3644, allocations: 3.406 kB / 468.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/0.3652, allocations: 185.9 kB / 468.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003637/0.3656, allocations: 117 kB / 468.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.3656, allocations: 30.5 kB / 468.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.3682, allocations: 3.609 MB / 472.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.3682, allocations: 8.875 kB / 472.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.3705, allocations: 1.431 MB / 473.9 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.3708, allocations: 242.9 kB / 474.1 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.371, allocations: 25.7 kB / 474.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.3714, allocations: 27.23 kB / 474.2 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.3716, allocations: 79.2 kB / 474.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/0.3716, allocations: 29.7 kB / 474.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008577/0.3725, allocations: 0.6709 MB / 474.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3725, allocations: 480 / 474.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001071/0.3736, allocations: 241.3 kB / 475.2 MB, free: 7.66 MB / 366.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.001603/0.3752, allocations: 448.7 kB / 475.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.377, allocations: 1.011 MB / 476.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.377, allocations: 0 / 476.6 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009961/0.378, allocations: 0.667 MB / 477.3 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.3791, allocations: 186 kB / 477.5 MB, free: 6.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.3832, allocations: 2.659 MB / 480.1 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/0.3839, allocations: 1.105 MB / 481.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.3842, allocations: 81.92 kB / 481.3 MB, free: 4.117 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3842, allocations: 0 / 481.3 MB, free: 4.117 MB / 366.1 MB Notification: Performance of Templates: time 0.03258/0.4168, allocations: 23.26 MB / 0.4928 GB, free: 1.625 MB / 382.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.227880002988968]