Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.0008078/0.0008078, allocations: 83.64 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004651/0.004651, allocations: 167.9 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8758/0.8758, allocations: 158.6 MB / 186.5 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.035e-05, allocations: 6.219 kB / 298.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.1549/0.1549, allocations: 35.28 MB / 333.8 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1567, allocations: 1.897 MB / 335.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1568, allocations: 8.156 kB / 335.7 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.1573, allocations: 164.6 kB / 335.8 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.1577, allocations: 327 kB / 336.2 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.1582, allocations: 299.3 kB / 336.4 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006708/0.1589, allocations: 0.8478 MB / 337.3 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.1591, allocations: 69.92 kB / 337.4 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05499/0.214, allocations: 43.99 MB / 381.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005926/0.2146, allocations: 255.2 kB / 381.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.288e-05/0.2147, allocations: 28 kB / 381.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.2148, allocations: 41.03 kB / 381.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.2149, allocations: 99.64 kB / 381.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2151, allocations: 143.7 kB / 381.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.2155, allocations: 446.7 kB / 382.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2155, allocations: 0 / 382.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2155, allocations: 0 / 382.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2155, allocations: 0 / 382.3 MB, free: 10.57 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007007/0.2162, allocations: 0.5169 MB / 382.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2163, allocations: 11.98 kB / 382.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.2163, allocations: 58.73 kB / 382.9 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.2165, allocations: 46.98 kB / 383 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.2168, allocations: 225.3 kB / 383.2 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.2169, allocations: 16.88 kB / 383.2 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.2169, allocations: 25 kB / 383.2 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.2173, allocations: 461.8 kB / 383.7 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2173, allocations: 3.938 kB / 383.7 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.2173, allocations: 15.94 kB / 383.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.2173, allocations: 7.984 kB / 383.7 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.2175, allocations: 197.8 kB / 383.9 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.2186, allocations: 1.159 MB / 385.1 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.2189, allocations: 166.9 kB / 385.2 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.219, allocations: 88.8 kB / 385.3 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.219, allocations: 4 kB / 385.3 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.219, allocations: 42.56 kB / 385.4 MB, free: 7.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.764e-06/0.219, allocations: 0 / 385.4 MB, free: 7.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001559/0.2206, allocations: 0.8574 MB / 386.2 MB, free: 6.445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2206, allocations: 59.39 kB / 386.3 MB, free: 6.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2208, allocations: 265.8 kB / 386.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2208, allocations: 29.7 kB / 386.6 MB, free: 6.066 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.838e-05/0.2209, allocations: 180.5 kB / 386.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.054e-05/0.221, allocations: 95.16 kB / 386.8 MB, free: 5.793 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.2211, allocations: 61.7 kB / 386.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.138e-05/0.2211, allocations: 338.8 kB / 387.2 MB, free: 5.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.2213, allocations: 91.89 kB / 387.3 MB, free: 5.297 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.2214, allocations: 178.8 kB / 387.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.2217, allocations: 291 kB / 387.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2217, allocations: 0 / 387.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004695/0.2222, allocations: 382.8 kB / 388.1 MB, free: 4.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2222, allocations: 8 kB / 388.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.2222, allocations: 4 kB / 388.2 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.2224, allocations: 65.98 kB / 388.2 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.2226, allocations: 71.91 kB / 388.3 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.2244, allocations: 2.661 MB / 391 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.2245, allocations: 8 kB / 391 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.2245, allocations: 16 kB / 391 MB, free: 1.309 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.2247, allocations: 153.7 kB / 391.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.2247, allocations: 27.8 kB / 391.2 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.2247, allocations: 38.27 kB / 391.2 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2247, allocations: 0 / 391.2 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2247, allocations: 8.062 kB / 391.2 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000417/0.2252, allocations: 0.5637 MB / 391.8 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.2259, allocations: 0.6322 MB / 392.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.2259, allocations: 7.984 kB / 392.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.226, allocations: 39.92 kB / 392.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.2261, allocations: 60.91 kB / 392.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2261, allocations: 11.98 kB / 392.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007187/0.2268, allocations: 1.372 MB / 393.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2269, allocations: 0 / 393.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.2273, allocations: 468.9 kB / 394.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.2273, allocations: 27.84 kB / 394.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.2274, allocations: 8 kB / 394.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2275, allocations: 4 kB / 394.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.2275, allocations: 23.89 kB / 394.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.2275, allocations: 8 kB / 394.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.2276, allocations: 185.2 kB / 394.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2276, allocations: 0 / 394.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002819/0.2279, allocations: 92 kB / 394.7 MB, free: 13.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008649/0.2288, allocations: 0.9955 MB / 395.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005171/0.2293, allocations: 470 kB / 396.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2293, allocations: 4 kB / 396.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.2295, allocations: 222.6 kB / 396.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.2301, allocations: 167.1 kB / 396.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.2327, allocations: 3.088 MB / 399.6 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.2328, allocations: 155.9 kB / 399.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.233, allocations: 58.86 kB / 399.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.2331, allocations: 84.47 kB / 399.9 MB, free: 7.836 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2331, allocations: 0 / 399.9 MB, free: 7.836 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.2599, allocations: 9.976 MB / 409.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.176, allocations: 8.047 kB / 409.9 MB, free: 13.8 MB / 378.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.829693802632391]