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.001288/0.001288, allocations: 120.8 kB / 17.79 MB, free: 5.285 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.001309/0.001309, allocations: 186.9 kB / 20.73 MB, free: 2.355 MB / 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.373/1.373, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.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: "" <> 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 0.001453/0.001453, allocations: 47.92 kB / 365.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09589/0.09734, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.008256/0.1056, allocations: 6.253 MB / 424 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004645/0.1102, allocations: 2.15 MB / 426.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009562/0.1112, allocations: 35.81 kB / 426.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.1122, allocations: 429.3 kB / 426.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.1135, allocations: 464.9 kB / 427.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1147, allocations: 0.5172 MB / 427.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.1166, allocations: 1.492 MB / 429.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006526/0.1172, allocations: 368.7 kB / 429.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007716/0.118, allocations: 0.5565 MB / 430 MB, free: 340 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007988/0.1188, allocations: 0.6613 MB / 430.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.119, allocations: 128 kB / 430.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002989/0.1193, allocations: 179.9 kB / 431 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.1196, allocations: 306.8 kB / 431.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006226/0.1202, allocations: 0.645 MB / 431.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.122, allocations: 1.646 MB / 433.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.122, allocations: 0 / 433.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.122, allocations: 0 / 433.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.092e-05/0.1221, allocations: 4 kB / 433.6 MB, free: 12.76 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.002848/0.1249, allocations: 1.588 MB / 435.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.125, allocations: 8.031 kB / 435.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.1251, allocations: 152.4 kB / 435.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.1253, allocations: 152 kB / 435.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.1266, allocations: 0.7711 MB / 436.2 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.1267, allocations: 81.88 kB / 436.3 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.1268, allocations: 108 kB / 436.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.1284, allocations: 0.9118 MB / 437.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.1284, allocations: 11.94 kB / 437.3 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.1285, allocations: 36 kB / 437.4 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.1285, allocations: 24 kB / 437.4 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.1298, allocations: 0.6402 MB / 438 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/0.1348, allocations: 3.206 MB / 441.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.1362, allocations: 0.5803 MB / 441.8 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005134/0.1367, allocations: 275.2 kB / 442.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.365e-05/0.1367, allocations: 12.64 kB / 442.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006891/0.1374, allocations: 344.3 kB / 442.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 2.715e-06/0.1374, allocations: 0 / 442.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.006122/0.1435, allocations: 3.075 MB / 445.5 MB, free: 468 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.1436, allocations: 72.41 kB / 445.6 MB, free: 384 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1634/0.307, allocations: 0.9222 MB / 446.5 MB, free: 29.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.3071, allocations: 43.7 kB / 446.6 MB, free: 29.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.3075, allocations: 0.522 MB / 447.1 MB, free: 29.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.3077, allocations: 362.4 kB / 447.4 MB, free: 29.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.3079, allocations: 163.9 kB / 447.6 MB, free: 29.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.3079, allocations: 342.5 kB / 447.9 MB, free: 29.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.3084, allocations: 270.8 kB / 448.2 MB, free: 29.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.3089, allocations: 434.1 kB / 448.6 MB, free: 29.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009634/0.3099, allocations: 0.7469 MB / 449.4 MB, free: 28.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3099, allocations: 3.812 kB / 449.4 MB, free: 28.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001627/0.3115, allocations: 1.018 MB / 450.4 MB, free: 28.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3115, allocations: 7.188 kB / 450.4 MB, free: 28.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3115, allocations: 7.781 kB / 450.4 MB, free: 28.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.312, allocations: 149.6 kB / 450.6 MB, free: 28.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/0.3127, allocations: 208.1 kB / 450.8 MB, free: 28.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.3155, allocations: 3.99 MB / 454.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/0.3161, allocations: 36.25 kB / 454.8 MB, free: 25.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.3162, allocations: 34.66 kB / 454.8 MB, free: 25.4 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.0005332/0.3167, allocations: 301.6 kB / 455.1 MB, free: 25.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.3168, allocations: 111.2 kB / 455.2 MB, free: 25.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.3188, allocations: 0.9486 MB / 456.2 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.3188, allocations: 9.562 kB / 456.2 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3189, allocations: 3.484 kB / 456.2 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.3189, allocations: 5.109 kB / 456.2 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/0.3228, allocations: 2.47 MB / 458.7 MB, free: 23.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.3228, allocations: 4.312 kB / 458.7 MB, free: 23.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007507/0.3235, allocations: 190.4 kB / 458.8 MB, free: 23.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003758/0.3239, allocations: 116.2 kB / 459 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.324, allocations: 28.56 kB / 459 MB, free: 23.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/0.3266, allocations: 3.604 MB / 462.6 MB, free: 20.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3266, allocations: 8 kB / 462.6 MB, free: 20.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.3288, allocations: 1.43 MB / 464 MB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.3291, allocations: 247.1 kB / 464.3 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3292, allocations: 23.05 kB / 464.3 MB, free: 19.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.3296, allocations: 24.47 kB / 464.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.3298, allocations: 78.95 kB / 464.4 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/0.3298, allocations: 36.36 kB / 464.4 MB, free: 19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000826/0.3307, allocations: 0.6628 MB / 465.1 MB, free: 18.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3307, allocations: 0 / 465.1 MB, free: 18.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009327/0.3316, allocations: 240.9 kB / 465.3 MB, free: 18.71 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.003517/0.3351, allocations: 2.326 MB / 467.7 MB, free: 17.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00176/0.3369, allocations: 1.011 MB / 468.7 MB, free: 16.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3369, allocations: 4 kB / 468.7 MB, free: 16.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009056/0.3378, allocations: 0.6636 MB / 469.3 MB, free: 16.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/0.3388, allocations: 190 kB / 469.5 MB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.3503, allocations: 8.73 MB / 478.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.3509, allocations: 1.099 MB / 479.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004706/0.3514, allocations: 119.9 kB / 479.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.3518, allocations: 451.6 kB / 479.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3518, allocations: 4 kB / 479.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06069/0.4125, allocations: 21.39 MB / 0.4895 GB, free: 9.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.08, allocations: 7.938 kB / 0.4896 GB, free: 9.363 MB / 382.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Vehicle/Vehicle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.00333906384185]