Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 105.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.45 kB / 307 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08788, allocations: 50.54 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006262/0.09417, allocations: 4.542 MB / 362.1 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.09613, allocations: 1.814 MB / 363.9 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.09623, allocations: 4 kB / 363.9 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.09653, allocations: 39.69 kB / 364 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.09688, allocations: 123.2 kB / 364.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.09753, allocations: 250.8 kB / 364.3 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.09788, allocations: 286.9 kB / 364.6 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.09794, allocations: 21.05 kB / 364.6 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.09821, allocations: 127.6 kB / 364.8 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.09835, allocations: 79.67 kB / 364.8 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.09839, allocations: 12 kB / 364.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.09865, allocations: 99.86 kB / 364.9 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.09873, allocations: 39.84 kB / 365 MB, free: 6.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.09884, allocations: 79.7 kB / 365.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.09916, allocations: 207.7 kB / 365.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09918, allocations: 0 / 365.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09918, allocations: 0 / 365.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.0992, allocations: 0 / 365.3 MB, free: 6.258 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.0009172/0.1001, allocations: 499.2 kB / 365.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1002, allocations: 8.031 kB / 365.8 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.509e-05/0.1002, allocations: 54.73 kB / 365.8 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.1004, allocations: 24.69 kB / 365.8 MB, free: 5.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.1006, allocations: 200.2 kB / 366 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1007, allocations: 16.66 kB / 366.1 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.1007, allocations: 16.36 kB / 366.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.1011, allocations: 217.4 kB / 366.3 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1011, allocations: 0 / 366.3 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.1012, allocations: 4 kB / 366.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.1012, allocations: 8 kB / 366.3 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.1016, allocations: 151.8 kB / 366.4 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.1029, allocations: 0.9478 MB / 367.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.1034, allocations: 158.7 kB / 367.5 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.1036, allocations: 52.83 kB / 367.6 MB, free: 3.723 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005742/0.1041, allocations: 0.4954 MB / 368.1 MB, free: 3.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1042, allocations: 42.48 kB / 368.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.1042, allocations: 4 kB / 368.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002631/0.1068, allocations: 0.7614 MB / 368.9 MB, free: 2.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.1069, allocations: 51.41 kB / 368.9 MB, free: 2.238 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.107, allocations: 155.8 kB / 369.1 MB, free: 2.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1071, allocations: 33.7 kB / 369.1 MB, free: 2.039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.1072, allocations: 151.7 kB / 369.3 MB, free: 1.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.1072, allocations: 71 kB / 369.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.1074, allocations: 53.7 kB / 369.4 MB, free: 1.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1075, allocations: 326.8 kB / 369.7 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.1077, allocations: 87.69 kB / 369.8 MB, free: 1.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.1081, allocations: 189.6 kB / 370 MB, free: 1.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.1087, allocations: 300.4 kB / 370.3 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1087, allocations: 0 / 370.3 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007105/0.1094, allocations: 321 kB / 370.6 MB, free: 460 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1095, allocations: 8 kB / 370.6 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1095, allocations: 4 kB / 370.6 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1095, allocations: 4 kB / 370.6 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.1099, allocations: 88.25 kB / 370.7 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.1099, allocations: 8 kB / 370.7 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.1101, allocations: 19.92 kB / 370.7 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.1102, allocations: 19.94 kB / 370.7 MB, free: 308 kB / 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.0001332/0.1103, allocations: 141.6 kB / 370.9 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.1104, allocations: 15.81 kB / 370.9 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1271/0.2375, allocations: 239.9 kB / 371.1 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.2375, allocations: 2.438 kB / 371.1 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2375, allocations: 0.5156 kB / 371.1 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2376, allocations: 1.766 kB / 371.1 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.2389, allocations: 0.5961 MB / 371.7 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2389, allocations: 0.5 kB / 371.7 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.2392, allocations: 53.73 kB / 371.8 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.2392, allocations: 2.484 kB / 371.8 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.2392, allocations: 10.78 kB / 371.8 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.2393, allocations: 1.812 kB / 371.8 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.2393, allocations: 11.23 kB / 371.8 MB, free: 20.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007908/0.2401, allocations: 404.5 kB / 372.2 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.2401, allocations: 101.1 kB / 372.3 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.2402, allocations: 6.75 kB / 372.3 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.2404, allocations: 18.48 kB / 372.3 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.2405, allocations: 15.28 kB / 372.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.2405, allocations: 17.3 kB / 372.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.623e-05/0.2406, allocations: 111 kB / 372.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2406, allocations: 0 / 372.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003859/0.241, allocations: 61.59 kB / 372.5 MB, free: 20.15 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.001097/0.2421, allocations: 0.9677 MB / 373.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006383/0.2427, allocations: 227.8 kB / 373.7 MB, free: 19.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2427, allocations: 1.188 kB / 373.7 MB, free: 19.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.243, allocations: 97.25 kB / 373.8 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.2434, allocations: 37.84 kB / 373.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.2465, allocations: 2.358 MB / 376.2 MB, free: 17.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.2466, allocations: 0.7189 MB / 376.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002614/0.2469, allocations: 47.89 kB / 377 MB, free: 16.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.247, allocations: 52.27 kB / 377 MB, free: 16.96 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.247, allocations: 4 kB / 377 MB, free: 16.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.2684, allocations: 4.459 MB / 381.5 MB, free: 16.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.734/10, allocations: 5.359 kB / 381.5 MB, free: 16.39 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches