Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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.001479/0.001479, allocations: 107.5 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.00167/0.00167, allocations: 212.3 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 47.91 kB / 378.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2298, allocations: 53.37 MB / 431.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005726/0.2355, allocations: 4.275 MB / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.2375, allocations: 1.611 MB / 437.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.2376, allocations: 4 kB / 437.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.2378, allocations: 35.7 kB / 437.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.2382, allocations: 131.2 kB / 437.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.2388, allocations: 254.7 kB / 438.1 MB, free: 364 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.2392, allocations: 302.8 kB / 438.4 MB, free: 60 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.2392, allocations: 9.266 kB / 438.4 MB, free: 48 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.2395, allocations: 131.8 kB / 438.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.2396, allocations: 91.59 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.2397, allocations: 8 kB / 438.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.2399, allocations: 95.75 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.24, allocations: 35.91 kB / 438.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.726e-05/0.2401, allocations: 71.7 kB / 438.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.2404, allocations: 229.3 kB / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2404, allocations: 0 / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2404, allocations: 4 kB / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2404, allocations: 0 / 439.1 MB, free: 15.4 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009452/0.2414, allocations: 421.8 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2414, allocations: 8.031 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.933e-05/0.2414, allocations: 4.469 kB / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.321e-05/0.2415, allocations: 50.73 kB / 439.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.2417, allocations: 20.89 kB / 439.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.242, allocations: 150.3 kB / 439.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.242, allocations: 8.656 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.242, allocations: 24.12 kB / 439.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.2426, allocations: 375.6 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.2426, allocations: 0 / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.2426, allocations: 8 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2426, allocations: 4 kB / 440.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.243, allocations: 156.6 kB / 440.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.2443, allocations: 0.8751 MB / 441.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.2447, allocations: 138.8 kB / 441.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.2449, allocations: 52.83 kB / 441.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/0.2453, allocations: 328.2 kB / 441.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.2453, allocations: 34.56 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.2453, allocations: 3.938 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002489/0.2478, allocations: 0.7004 MB / 442.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2479, allocations: 51.41 kB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.248, allocations: 168 kB / 442.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.2481, allocations: 25.7 kB / 442.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/0.2481, allocations: 148.1 kB / 442.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.2482, allocations: 79.33 kB / 442.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/0.2483, allocations: 57.69 kB / 442.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2484, allocations: 322.8 kB / 443.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.2487, allocations: 83.94 kB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.249, allocations: 198.6 kB / 443.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/0.2496, allocations: 297.3 kB / 443.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2496, allocations: 4 kB / 443.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006962/0.2503, allocations: 320.1 kB / 444.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.2503, allocations: 8.469 kB / 444.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.2503, allocations: 12 kB / 444.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2503, allocations: 4 kB / 444.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.2507, allocations: 79.83 kB / 444.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.2507, allocations: 11.98 kB / 444.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.2509, allocations: 12 kB / 444.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.2509, allocations: 19.98 kB / 444.3 MB, free: 9.809 MB / 350.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.0001307/0.2511, allocations: 133.7 kB / 444.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.2511, allocations: 19.91 kB / 444.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006414/0.2518, allocations: 242.5 kB / 444.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2518, allocations: 4 kB / 444.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2518, allocations: 0 / 444.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2518, allocations: 0 / 444.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.253, allocations: 0.5544 MB / 445.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.253, allocations: 4 kB / 445.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.2533, allocations: 52.02 kB / 445.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2533, allocations: 7.938 kB / 445.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.2533, allocations: 8 kB / 445.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.2533, allocations: 11.92 kB / 445.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2533, allocations: 0 / 445.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.2542, allocations: 410.4 kB / 445.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.2542, allocations: 27.91 kB / 445.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.2543, allocations: 7.938 kB / 445.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2545, allocations: 19.92 kB / 445.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.2545, allocations: 15.97 kB / 445.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.2546, allocations: 8 kB / 445.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.834e-05/0.2546, allocations: 110.9 kB / 445.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2546, allocations: 4 kB / 445.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003508/0.255, allocations: 59.94 kB / 446 MB, free: 8.035 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.001168/0.2562, allocations: 0.9734 MB / 446.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005543/0.2567, allocations: 208.4 kB / 447.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2567, allocations: 0 / 447.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.2569, allocations: 88.06 kB / 447.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.2573, allocations: 39.81 kB / 447.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.2608, allocations: 2.389 MB / 449.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.956e-05/0.2609, allocations: 107.3 kB / 449.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.2611, allocations: 49.86 kB / 449.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.2612, allocations: 55.41 kB / 449.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2612, allocations: 0 / 449.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.2873, allocations: 4.95 MB / 454.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.11, allocations: 10.45 kB / 454.8 MB, free: 15.1 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.490044996957295]