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.001466/0.001466, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001532/0.001532, allocations: 207.8 kB / 23.73 MB, free: 4.523 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001617/0.001617, allocations: 47.92 kB / 378.2 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3069, allocations: 53.36 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008234/0.3151, allocations: 5.534 MB / 437.1 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006172/0.3213, allocations: 2.232 MB / 439.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.3226, allocations: 35.75 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.324, allocations: 425.3 kB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.3267, allocations: 0.5046 MB / 440.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.3286, allocations: 495.2 kB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002552/0.3311, allocations: 1.5 MB / 442.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.3321, allocations: 373.2 kB / 442.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.3335, allocations: 0.576 MB / 443.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.3348, allocations: 0.6729 MB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003785/0.3352, allocations: 128 kB / 444 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006122/0.3358, allocations: 180 kB / 444.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004359/0.3362, allocations: 306.9 kB / 444.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008678/0.3371, allocations: 0.5208 MB / 445 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.3392, allocations: 1.674 MB / 446.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3392, allocations: 0 / 446.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3392, allocations: 0 / 446.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.3392, allocations: 0 / 446.7 MB, free: 7.539 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.002855/0.342, allocations: 1.528 MB / 448.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3421, allocations: 12.03 kB / 448.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004096/0.3425, allocations: 163.9 kB / 448.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.3438, allocations: 0.69 MB / 449.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.168e-05/0.3439, allocations: 78.12 kB / 449.2 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.344, allocations: 104 kB / 449.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.3457, allocations: 0.9118 MB / 450.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.3458, allocations: 11.89 kB / 450.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.679e-05/0.3459, allocations: 40 kB / 450.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.3459, allocations: 24 kB / 450.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.3472, allocations: 0.6364 MB / 450.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/0.3524, allocations: 2.621 MB / 453.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.3538, allocations: 0.5781 MB / 454.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/0.3544, allocations: 274.7 kB / 454.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.205e-05/0.3544, allocations: 12.64 kB / 454.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007247/0.3552, allocations: 352.2 kB / 454.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.835e-06/0.3552, allocations: 0 / 454.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.00661/0.3618, allocations: 2.929 MB / 457.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.3618, allocations: 68.34 kB / 457.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.363, allocations: 0.8721 MB / 458.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.3631, allocations: 41.7 kB / 458.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.3635, allocations: 0.5359 MB / 459.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/0.3639, allocations: 364.9 kB / 459.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.3641, allocations: 154.7 kB / 459.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3643, allocations: 353.8 kB / 460 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.3649, allocations: 277.9 kB / 460.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/0.3655, allocations: 425.5 kB / 460.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.3668, allocations: 0.7521 MB / 461.4 MB, free: 8.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.3669, allocations: 4 kB / 461.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002098/0.369, allocations: 1.025 MB / 462.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.369, allocations: 8 kB / 462.5 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.369, allocations: 4.438 kB / 462.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005136/0.3695, allocations: 145.6 kB / 462.6 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008455/0.3704, allocations: 207.7 kB / 462.8 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004347/0.3747, allocations: 3.7 MB / 466.5 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.3754, allocations: 27.94 kB / 466.6 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/0.3755, allocations: 39.98 kB / 466.6 MB, free: 3.047 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.0006722/0.3762, allocations: 307.8 kB / 466.9 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.3763, allocations: 111.2 kB / 467 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.3784, allocations: 0.959 MB / 468 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3784, allocations: 8 kB / 468 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3784, allocations: 4 kB / 468 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.3784, allocations: 12 kB / 468 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/0.3827, allocations: 2.143 MB / 470.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.3827, allocations: 4 kB / 470.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008715/0.3835, allocations: 188.2 kB / 470.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004102/0.3839, allocations: 117.6 kB / 470.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/0.384, allocations: 27.98 kB / 470.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/0.3878, allocations: 3.328 MB / 473.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3878, allocations: 4 kB / 473.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.3905, allocations: 1.447 MB / 475.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.3909, allocations: 159.2 kB / 475.4 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.391, allocations: 28 kB / 475.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.3915, allocations: 23.98 kB / 475.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.3916, allocations: 84.83 kB / 475.5 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/0.3917, allocations: 31.98 kB / 475.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008695/0.3926, allocations: 0.624 MB / 476.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3926, allocations: 3.938 kB / 476.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001117/0.3937, allocations: 244 kB / 476.4 MB, free: 8.828 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.001914/0.3956, allocations: 473.7 kB / 476.9 MB, free: 8.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00255/0.3982, allocations: 1.013 MB / 477.9 MB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.3982, allocations: 0 / 477.9 MB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.3994, allocations: 0.6758 MB / 478.6 MB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4005, allocations: 184.7 kB / 478.8 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.4051, allocations: 2.624 MB / 481.4 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.4057, allocations: 0.515 MB / 481.9 MB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004525/0.4061, allocations: 111.2 kB / 482 MB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.4063, allocations: 79.41 kB / 482.1 MB, free: 3.199 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4063, allocations: 0 / 482.1 MB, free: 3.199 MB / 382.1 MB Notification: Performance of Templates: time 0.02509/0.4314, allocations: 12.62 MB / 494.7 MB, free: 6.719 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins/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.096575570758432]