Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 112.9 kB / 19.04 MB, free: 3.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 193.9 kB / 22.22 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.91 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2723, allocations: 52.13 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008374/0.2807, allocations: 6.286 MB / 427.1 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004937/0.2856, allocations: 2.162 MB / 429.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.2867, allocations: 27.88 kB / 429.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009401/0.2876, allocations: 425.4 kB / 429.7 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.2887, allocations: 468.9 kB / 430.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2899, allocations: 0.5291 MB / 430.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.2916, allocations: 1.496 MB / 432.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006062/0.2922, allocations: 376.7 kB / 432.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007084/0.2929, allocations: 0.5487 MB / 433.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007357/0.2937, allocations: 0.6612 MB / 433.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.2938, allocations: 128 kB / 433.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.2941, allocations: 176 kB / 434.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.2944, allocations: 306.9 kB / 434.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.295, allocations: 0.645 MB / 435.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.2969, allocations: 1.655 MB / 436.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.2969, allocations: 4 kB / 436.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2969, allocations: 0 / 436.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.2969, allocations: 0 / 436.7 MB, free: 15.2 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.002797/0.2997, allocations: 1.588 MB / 438.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2998, allocations: 15.89 kB / 438.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.3, allocations: 148 kB / 438.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.3012, allocations: 0.7711 MB / 439.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.3013, allocations: 78.12 kB / 439.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.3014, allocations: 108 kB / 439.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.303, allocations: 0.9079 MB / 440.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/0.3031, allocations: 15.88 kB / 440.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.62e-05/0.3032, allocations: 40 kB / 440.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.3032, allocations: 24 kB / 440.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.3044, allocations: 0.6286 MB / 441 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004893/0.3093, allocations: 3.225 MB / 444.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.3107, allocations: 0.5726 MB / 444.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005489/0.3113, allocations: 270.7 kB / 445.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.207e-05/0.3113, allocations: 8.656 kB / 445.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000721/0.312, allocations: 340.4 kB / 445.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.965e-06/0.3121, allocations: 0 / 445.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.006179/0.3182, allocations: 3.091 MB / 448.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.3183, allocations: 68.41 kB / 448.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.3196, allocations: 0.9351 MB / 449.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/0.3196, allocations: 41.7 kB / 449.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/0.3201, allocations: 0.5243 MB / 450.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.3204, allocations: 356.9 kB / 450.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.3207, allocations: 158.6 kB / 450.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3209, allocations: 349.8 kB / 450.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005625/0.3215, allocations: 269.9 kB / 451.2 MB, free: 324 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/0.3222, allocations: 425.5 kB / 451.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.3235, allocations: 0.7444 MB / 452.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3235, allocations: 4 kB / 452.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001996/0.3255, allocations: 1.037 MB / 453.4 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.3255, allocations: 8 kB / 453.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3255, allocations: 4 kB / 453.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000472/0.326, allocations: 142 kB / 453.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007715/0.3267, allocations: 211.7 kB / 453.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/0.331, allocations: 3.983 MB / 457.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/0.3317, allocations: 31.98 kB / 457.8 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.3317, allocations: 36 kB / 457.8 MB, free: 9.312 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.0005719/0.3323, allocations: 317.4 kB / 458.1 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.3325, allocations: 111.3 kB / 458.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.3344, allocations: 0.9517 MB / 459.2 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.3344, allocations: 12 kB / 459.2 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3344, allocations: 0 / 459.2 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3344, allocations: 3.984 kB / 459.2 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00424/0.3386, allocations: 2.474 MB / 461.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.3387, allocations: 4 kB / 461.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.3394, allocations: 180.2 kB / 461.8 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/0.3398, allocations: 117.6 kB / 462 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/0.3399, allocations: 28.05 kB / 462 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/0.3434, allocations: 3.612 MB / 465.6 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.3434, allocations: 12.05 kB / 465.6 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.3459, allocations: 1.428 MB / 467 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.3464, allocations: 244.3 kB / 467.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.3465, allocations: 27.94 kB / 467.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.3469, allocations: 23.98 kB / 467.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.3471, allocations: 76.94 kB / 467.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/0.3472, allocations: 35.98 kB / 467.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008662/0.348, allocations: 0.663 MB / 468.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.348, allocations: 0 / 468.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009201/0.3489, allocations: 247.9 kB / 468.3 MB, free: 14.26 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.001512/0.3505, allocations: 437.6 kB / 468.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.3525, allocations: 1.006 MB / 469.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3525, allocations: 4.062 kB / 469.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.3537, allocations: 0.6746 MB / 470.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.3548, allocations: 186.9 kB / 470.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.3594, allocations: 2.622 MB / 473.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008279/0.3602, allocations: 1.104 MB / 474.4 MB, free: 8.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004221/0.3606, allocations: 115.6 kB / 474.5 MB, free: 8.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.3608, allocations: 75.42 kB / 474.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of SimCode: time 1.163e-06/0.3608, allocations: 0 / 474.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of Templates: time 0.02366/0.3845, allocations: 11.58 MB / 486.1 MB, free: 12.56 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.903198545798659]