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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008233/0.0008234, allocations: 90.72 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008812/0.0008812, allocations: 177 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002126/0.0002125, allocations: 4 kB / 301.5 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07543/0.07565, allocations: 50.41 MB / 351.9 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004253/0.07993, allocations: 4.127 MB / 356.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.08169, allocations: 1.795 MB / 357.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.08177, allocations: 3.938 kB / 357.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.08198, allocations: 27.81 kB / 357.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.08227, allocations: 119.3 kB / 358 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.08282, allocations: 234.4 kB / 358.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.08319, allocations: 366.8 kB / 358.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.08324, allocations: 17.11 kB / 358.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.08347, allocations: 123.6 kB / 358.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.0836, allocations: 79.67 kB / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.08363, allocations: 4 kB / 358.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.08384, allocations: 99.86 kB / 358.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.08391, allocations: 39.88 kB / 358.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.084, allocations: 97.31 kB / 359 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.08429, allocations: 211.7 kB / 359.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.0843, allocations: 0 / 359.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0843, allocations: 4 kB / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.08431, allocations: 0 / 359.2 MB, free: 12.29 MB / 302.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.00076/0.08508, allocations: 451.4 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.08512, allocations: 8.031 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.08518, allocations: 46.73 kB / 359.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.08535, allocations: 36.73 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.08555, allocations: 208.1 kB / 360 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.08557, allocations: 8.656 kB / 360 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.08561, allocations: 16.38 kB / 360 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.08599, allocations: 225.3 kB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.08601, allocations: 4 kB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.08604, allocations: 4 kB / 360.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.08605, allocations: 4 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.08639, allocations: 151.8 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.08753, allocations: 0.9362 MB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.0879, allocations: 154.7 kB / 361.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.08805, allocations: 52.83 kB / 361.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004587/0.08851, allocations: 0.5109 MB / 362 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.08855, allocations: 42.56 kB / 362.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.08855, allocations: 0 / 362.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002354/0.09091, allocations: 0.7618 MB / 362.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.09095, allocations: 55.41 kB / 362.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.09107, allocations: 149.6 kB / 363 MB, free: 8.152 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.0911, allocations: 33.7 kB / 363.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.09118, allocations: 147.8 kB / 363.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.09123, allocations: 70.94 kB / 363.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.09128, allocations: 29.7 kB / 363.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.09138, allocations: 326.8 kB / 363.6 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.09163, allocations: 87.88 kB / 363.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.09192, allocations: 190 kB / 363.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005433/0.09247, allocations: 299 kB / 364.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.09248, allocations: 0 / 364.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006556/0.09314, allocations: 317 kB / 364.5 MB, free: 6.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.09317, allocations: 8 kB / 364.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.09318, allocations: 4 kB / 364.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.0932, allocations: 4 kB / 364.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.09355, allocations: 88.3 kB / 364.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.09356, allocations: 8 kB / 364.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.09379, allocations: 15.98 kB / 364.6 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.09382, allocations: 19.98 kB / 364.6 MB, free: 6.41 MB / 302.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.0001067/0.09393, allocations: 137.7 kB / 364.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.09398, allocations: 11.91 kB / 364.8 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006169/0.0946, allocations: 250.5 kB / 365 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.09461, allocations: 0 / 365 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.09462, allocations: 0 / 365 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.09463, allocations: 0 / 365 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.09578, allocations: 0.5913 MB / 365.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.09579, allocations: 0 / 365.6 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.09607, allocations: 60.02 kB / 365.7 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.09608, allocations: 0 / 365.7 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.09611, allocations: 15.92 kB / 365.7 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.09612, allocations: 4 kB / 365.7 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.09612, allocations: 0 / 365.7 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.0969, allocations: 404.7 kB / 366.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.09695, allocations: 88.95 kB / 366.2 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.09699, allocations: 19.98 kB / 366.2 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.09723, allocations: 15.98 kB / 366.2 MB, free: 4.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.09725, allocations: 7.984 kB / 366.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.09728, allocations: 12 kB / 366.2 MB, free: 4.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.32e-05/0.09735, allocations: 107.2 kB / 366.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09735, allocations: 3.938 kB / 366.3 MB, free: 4.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.0977, allocations: 60 kB / 366.4 MB, free: 4.516 MB / 302.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.001065/0.09878, allocations: 0.9783 MB / 367.4 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005345/0.09932, allocations: 219.7 kB / 367.6 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.09933, allocations: 0.9375 kB / 367.6 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.09957, allocations: 88.14 kB / 367.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.09995, allocations: 39.91 kB / 367.7 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.1031, allocations: 2.473 MB / 370.2 MB, free: 500 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1234/0.2265, allocations: 0.715 MB / 370.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003016/0.2268, allocations: 45.02 kB / 371 MB, free: 24.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.227, allocations: 49.89 kB / 371 MB, free: 24.69 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.227, allocations: 0 / 371 MB, free: 24.69 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.2404, allocations: 4.162 MB / 375.2 MB, free: 24.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001147/0.2405, allocations: 197 kB / 375.4 MB, free: 24.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.905, allocations: 0 / 375.4 MB, free: 24.21 MB / 302.1 MB (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 --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) 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) Reference file matches