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.001363/0.001363, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001826/0.001826, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.382/1.382, allocations: 230.6 MB / 257.5 MB, free: 8.016 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 55.91 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2294, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006026/0.2354, allocations: 4.587 MB / 435.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.2374, allocations: 1.822 MB / 437.5 MB, free: 428 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.636e-05/0.2375, allocations: 0 / 437.5 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.2377, allocations: 43.69 kB / 437.6 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.238, allocations: 135.1 kB / 437.7 MB, free: 248 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.2386, allocations: 250.8 kB / 438 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.239, allocations: 299 kB / 438.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.2391, allocations: 17.25 kB / 438.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.2393, allocations: 131.5 kB / 438.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2395, allocations: 91.59 kB / 438.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.2395, allocations: 8 kB / 438.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.2397, allocations: 99.92 kB / 438.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.2398, allocations: 39.83 kB / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.2399, allocations: 87.64 kB / 438.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.2402, allocations: 219.4 kB / 438.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2402, allocations: 0 / 438.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.2402, allocations: 4 kB / 438.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2402, allocations: 0 / 438.9 MB, free: 15.03 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.0009475/0.2412, allocations: 421.8 kB / 439.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2412, allocations: 12.03 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.472e-05/0.2413, allocations: 50.73 kB / 439.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.2415, allocations: 16.89 kB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.2417, allocations: 150.3 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2418, allocations: 8.656 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.2418, allocations: 20.38 kB / 439.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.2422, allocations: 221.3 kB / 439.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.2422, allocations: 4 kB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.2423, allocations: 8 kB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2423, allocations: 4 kB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.2426, allocations: 152.5 kB / 440 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.2439, allocations: 0.9025 MB / 440.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.2443, allocations: 150.7 kB / 441 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.2445, allocations: 52.83 kB / 441.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004635/0.2449, allocations: 332.2 kB / 441.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.245, allocations: 42.5 kB / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.245, allocations: 0 / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00247/0.2474, allocations: 0.7 MB / 442.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.2475, allocations: 55.41 kB / 442.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2476, allocations: 163.7 kB / 442.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.2476, allocations: 29.7 kB / 442.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.2477, allocations: 148.1 kB / 442.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/0.2478, allocations: 71.33 kB / 442.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.2479, allocations: 61.69 kB / 442.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.248, allocations: 326.8 kB / 443 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.2483, allocations: 87.94 kB / 443.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.2486, allocations: 194.6 kB / 443.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/0.2492, allocations: 299.2 kB / 443.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2492, allocations: 0 / 443.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007045/0.2499, allocations: 321 kB / 443.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2499, allocations: 8 kB / 443.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2499, allocations: 4 kB / 443.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.25, allocations: 4.469 kB / 443.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.2503, allocations: 87.89 kB / 444 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2503, allocations: 7.984 kB / 444 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.2506, allocations: 15.98 kB / 444 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.2506, allocations: 16 kB / 444 MB, free: 9.59 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.0001336/0.2507, allocations: 137.7 kB / 444.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/0.2508, allocations: 15.91 kB / 444.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.2514, allocations: 240.5 kB / 444.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2514, allocations: 4 kB / 444.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2514, allocations: 0 / 444.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2514, allocations: 0 / 444.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.2527, allocations: 0.5748 MB / 445 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2527, allocations: 0 / 445 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.253, allocations: 56.08 kB / 445 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.253, allocations: 0 / 445 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.253, allocations: 11.98 kB / 445 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.253, allocations: 7.938 kB / 445 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.253, allocations: 3.938 kB / 445 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00082/0.2539, allocations: 400.9 kB / 445.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.2539, allocations: 35.91 kB / 445.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.254, allocations: 4.062 kB / 445.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.2542, allocations: 23.92 kB / 445.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.2542, allocations: 15.91 kB / 445.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.2543, allocations: 12 kB / 445.5 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.14e-05/0.2544, allocations: 115.2 kB / 445.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2544, allocations: 0 / 445.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003625/0.2547, allocations: 63.94 kB / 445.7 MB, free: 7.789 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.001225/0.2559, allocations: 0.971 MB / 446.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005825/0.2565, allocations: 203.8 kB / 446.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2565, allocations: 4 kB / 446.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.2568, allocations: 97 kB / 447 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.2572, allocations: 35.83 kB / 447 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.2608, allocations: 2.379 MB / 449.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.2611, allocations: 0.7129 MB / 450.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.2614, allocations: 49.86 kB / 450.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.2615, allocations: 51.41 kB / 450.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2615, allocations: 0 / 450.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.2964, allocations: 4.834 MB / 455 MB, free: 14.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.22, allocations: 3.375 kB / 455 MB, free: 14.34 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.550633567851037]