Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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.001549/0.001549, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001671/0.001671, allocations: 187.3 kB / 23.72 MB, free: 4.684 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.355/1.355, allocations: 225.6 MB / 252.5 MB, free: 13.04 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: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 48.02 kB / 370.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2191, allocations: 52.19 MB / 422.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005798/0.2249, allocations: 4.532 MB / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.2269, allocations: 1.822 MB / 429 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.227, allocations: 7.938 kB / 429 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.2272, allocations: 43.69 kB / 429 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.2275, allocations: 123.2 kB / 429.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006225/0.2282, allocations: 246.7 kB / 429.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.2285, allocations: 290.9 kB / 429.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.2286, allocations: 9.312 kB / 429.7 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.2288, allocations: 131.6 kB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.229, allocations: 91.59 kB / 429.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.229, allocations: 8 kB / 429.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.2292, allocations: 91.94 kB / 430 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.2293, allocations: 35.84 kB / 430 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.562e-05/0.2294, allocations: 87.64 kB / 430.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.2297, allocations: 211.7 kB / 430.3 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2297, allocations: 4 kB / 430.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2297, allocations: 0 / 430.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2297, allocations: 0 / 430.3 MB, free: 7.016 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009215/0.2306, allocations: 417.9 kB / 430.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2307, allocations: 8.031 kB / 430.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.2307, allocations: 46.73 kB / 430.8 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.2309, allocations: 28.83 kB / 430.8 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.2312, allocations: 146.3 kB / 431 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2312, allocations: 12.66 kB / 431 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.2312, allocations: 20.31 kB / 431 MB, free: 6.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.2317, allocations: 225.3 kB / 431.2 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2317, allocations: 0 / 431.2 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.2317, allocations: 12 kB / 431.2 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2317, allocations: 4 kB / 431.2 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.2321, allocations: 147.8 kB / 431.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.2334, allocations: 0.9025 MB / 432.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.2338, allocations: 146.7 kB / 432.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.2339, allocations: 48.83 kB / 432.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004598/0.2344, allocations: 336.2 kB / 432.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.2344, allocations: 34.56 kB / 432.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.2344, allocations: 0 / 432.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002533/0.237, allocations: 0.7025 MB / 433.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.237, allocations: 55.41 kB / 433.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2371, allocations: 152.1 kB / 433.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.2372, allocations: 29.7 kB / 433.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.2373, allocations: 152 kB / 433.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.2373, allocations: 75.38 kB / 434 MB, free: 3.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.052e-05/0.2374, allocations: 57.7 kB / 434 MB, free: 3.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2376, allocations: 326.8 kB / 434.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.2378, allocations: 83.94 kB / 434.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.2381, allocations: 198 kB / 434.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.2387, allocations: 300.8 kB / 434.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2387, allocations: 0 / 434.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007088/0.2395, allocations: 313.1 kB / 435.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2395, allocations: 12.41 kB / 435.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2395, allocations: 8 kB / 435.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.2395, allocations: 4 kB / 435.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.2399, allocations: 87.88 kB / 435.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.2399, allocations: 4 kB / 435.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.2401, allocations: 15.98 kB / 435.4 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.2401, allocations: 12 kB / 435.4 MB, free: 1.598 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.2403, allocations: 145.6 kB / 435.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.2403, allocations: 15.91 kB / 435.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006559/0.241, allocations: 245.1 kB / 435.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.241, allocations: 4 kB / 435.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.241, allocations: 0 / 435.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.241, allocations: 0 / 435.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.2423, allocations: 0.5672 MB / 436.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2423, allocations: 3.984 kB / 436.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.2426, allocations: 55.91 kB / 436.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2426, allocations: 0 / 436.4 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.2426, allocations: 15.86 kB / 436.4 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2426, allocations: 4 kB / 436.4 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2426, allocations: 0 / 436.4 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/0.2435, allocations: 407.2 kB / 436.8 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.2435, allocations: 19.92 kB / 436.8 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.2435, allocations: 7.938 kB / 436.8 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.2438, allocations: 11.98 kB / 436.8 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.2438, allocations: 20.05 kB / 436.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.2438, allocations: 7.984 kB / 436.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.456e-05/0.2439, allocations: 114.6 kB / 437 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2439, allocations: 4.062 kB / 437 MB, free: 15.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00036/0.2443, allocations: 56 kB / 437 MB, free: 15.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/0.2455, allocations: 0.9809 MB / 438 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005927/0.2461, allocations: 208.4 kB / 438.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2461, allocations: 256 / 438.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.2464, allocations: 91.81 kB / 438.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.2468, allocations: 47.88 kB / 438.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.2504, allocations: 2.371 MB / 440.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.2507, allocations: 0.7128 MB / 441.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000203/0.2509, allocations: 49.92 kB / 441.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.251, allocations: 47.42 kB / 441.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.251, allocations: 0 / 441.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.2844, allocations: 4.842 MB / 446.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.78, allocations: 2.406 kB / 446.4 MB, free: 6.355 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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: 13.018701934022829]