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.0012/0.0012, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009288/0.0009288, allocations: 157.4 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8626/0.8626, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Vehicle,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.88e-05, allocations: 2.281 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.004596/0.004615, allocations: 5.502 MB / 323.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002961/0.007576, allocations: 2.091 MB / 326 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006856/0.008262, allocations: 39.69 kB / 326.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.008949, allocations: 425.2 kB / 326.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009072/0.009856, allocations: 0.4887 MB / 327 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.01066, allocations: 0.533 MB / 327.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.01192, allocations: 1.53 MB / 329 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.01235, allocations: 357 kB / 329.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000717/0.01307, allocations: 0.8184 MB / 330.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004755/0.01355, allocations: 0.5102 MB / 330.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.01366, allocations: 136 kB / 330.8 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.01385, allocations: 164 kB / 331 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.01403, allocations: 314.7 kB / 331.3 MB, free: 9.418 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.01431, allocations: 422.8 kB / 331.7 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.01552, allocations: 1.663 MB / 333.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.01552, allocations: 0 / 333.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01553, allocations: 0 / 333.4 MB, free: 7.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.01555, allocations: 0 / 333.4 MB, free: 7.336 MB / 298.7 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.00175/0.0173, allocations: 1.497 MB / 334.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.01734, allocations: 8.922 kB / 334.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.01746, allocations: 148.4 kB / 335 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.01761, allocations: 152 kB / 335.2 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008949/0.0185, allocations: 0.6969 MB / 335.9 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.01856, allocations: 74.38 kB / 336 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.01868, allocations: 108.3 kB / 336.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.01978, allocations: 0.9156 MB / 337 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.01982, allocations: 15.89 kB / 337 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.01987, allocations: 40 kB / 337 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.01988, allocations: 24 kB / 337.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008101/0.02069, allocations: 0.6364 MB / 337.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/0.02371, allocations: 2.739 MB / 340.4 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008565/0.02457, allocations: 0.5856 MB / 341 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.02487, allocations: 267.4 kB / 341.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.0249, allocations: 12.64 kB / 341.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/0.02531, allocations: 348.3 kB / 341.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 2.344e-06/0.02531, allocations: 0 / 341.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=100): time 0.003613/0.02892, allocations: 2.932 MB / 344.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.02896, allocations: 64.41 kB / 344.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007577/0.02972, allocations: 0.9468 MB / 345.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.02976, allocations: 41.7 kB / 345.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.03004, allocations: 0.5166 MB / 346.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.03022, allocations: 364.9 kB / 346.5 MB, free: 9.953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.03036, allocations: 166.5 kB / 346.6 MB, free: 9.785 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.03046, allocations: 345.9 kB / 347 MB, free: 9.441 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.03078, allocations: 269.9 kB / 347.2 MB, free: 9.176 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.03117, allocations: 437.4 kB / 347.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007509/0.03192, allocations: 0.756 MB / 348.4 MB, free: 7.895 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.03193, allocations: 0 / 348.4 MB, free: 7.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001127/0.03305, allocations: 1.033 MB / 349.5 MB, free: 6.844 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.03308, allocations: 10.5 kB / 349.5 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.03309, allocations: 4 kB / 349.5 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/0.03337, allocations: 149.6 kB / 349.6 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.03377, allocations: 203.7 kB / 349.8 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.03615, allocations: 3.75 MB / 353.6 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.0365, allocations: 24 kB / 353.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/0.03654, allocations: 39.98 kB / 353.6 MB, free: 2.449 MB / 314.7 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.0003518/0.03689, allocations: 297.6 kB / 353.9 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.562e-05/0.03698, allocations: 115.2 kB / 354 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.0381, allocations: 0.9673 MB / 355 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.03811, allocations: 12 kB / 355 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.03811, allocations: 7.984 kB / 355 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.03812, allocations: 3.984 kB / 355 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.04056, allocations: 2.276 MB / 357.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.04056, allocations: 0 / 357.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.04097, allocations: 195.7 kB / 357.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.0412, allocations: 117.6 kB / 357.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.04124, allocations: 28 kB / 357.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.04364, allocations: 3.374 MB / 361 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.04364, allocations: 8.062 kB / 361 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.04517, allocations: 1.447 MB / 362.5 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.04545, allocations: 167.2 kB / 362.6 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.04551, allocations: 23.98 kB / 362.7 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.04572, allocations: 31.94 kB / 362.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.04584, allocations: 80.89 kB / 362.8 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.04588, allocations: 31.98 kB / 362.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008281/0.04671, allocations: 0.6669 MB / 363.5 MB, free: 8.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.04671, allocations: 0 / 363.5 MB, free: 8.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006692/0.04738, allocations: 247.9 kB / 363.7 MB, free: 7.961 MB / 330.7 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.002371/0.04975, allocations: 2.363 MB / 366.1 MB, free: 5.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.05105, allocations: 1.013 MB / 367.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.05105, allocations: 0 / 367.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006167/0.05167, allocations: 0.672 MB / 367.8 MB, free: 3.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006887/0.05236, allocations: 190.8 kB / 367.9 MB, free: 3.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008711/0.06107, allocations: 8.573 MB / 376.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.06145, allocations: 0.5109 MB / 377 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003075/0.06176, allocations: 115.6 kB / 377.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000612/0.06237, allocations: 444.3 kB / 377.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.06237, allocations: 0 / 377.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04265/0.105, allocations: 22.8 MB / 400.4 MB, free: 3.203 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.69, allocations: 7.156 kB / 400.4 MB, free: 3.199 MB / 362.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle_fmu --startTime=0 --stopTime=60 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Vehicle.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.pipe 2>&1) [Timeout 52.5] 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: 9.549154424108565]