Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.00188/0.00188, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002297/0.002297, allocations: 207.9 kB / 23.73 MB, free: 4.387 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 46.95 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 59.91 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3614, allocations: 66.03 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01708/0.3785, allocations: 11.47 MB / 0.5718 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.38, allocations: 1.226 MB / 0.573 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.38, allocations: 0 / 0.573 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.3802, allocations: 23.83 kB / 0.573 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.3859, allocations: 2.217 MB / 0.5752 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.15e-06/0.3859, allocations: 0 / 0.5752 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.386, allocations: 43.67 kB / 0.5752 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.3861, allocations: 4 kB / 0.5752 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.3862, allocations: 8 kB / 0.5752 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.3862, allocations: 19.92 kB / 0.5752 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.3862, allocations: 0 / 0.5752 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006401/0.3926, allocations: 3.835 MB / 0.579 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.3926, allocations: 15.86 kB / 0.579 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.3927, allocations: 8 kB / 0.579 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.3957, allocations: 1.973 MB / 0.5809 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3957, allocations: 0 / 0.5809 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3957, allocations: 3.938 kB / 0.5809 GB, free: 15.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3957, allocations: 0 / 0.5809 GB, free: 15.35 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001062/0.3968, allocations: 0.4928 MB / 0.5814 GB, free: 14.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3968, allocations: 12.03 kB / 0.5814 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.3969, allocations: 38.73 kB / 0.5815 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.397, allocations: 12.89 kB / 0.5815 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3971, allocations: 114.5 kB / 0.5816 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.3971, allocations: 4.375 kB / 0.5816 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.3971, allocations: 4.375 kB / 0.5816 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.3974, allocations: 87.31 kB / 0.5817 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3974, allocations: 0 / 0.5817 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.3974, allocations: 0 / 0.5817 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3974, allocations: 0 / 0.5817 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.3976, allocations: 55.88 kB / 0.5817 GB, free: 14.46 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.398, allocations: 332 kB / 0.582 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.3982, allocations: 54.53 kB / 0.5821 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.3982, allocations: 16.8 kB / 0.5821 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01951/0.4177, allocations: 5.679 MB / 0.5877 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.4178, allocations: 34.56 kB / 0.5877 GB, free: 8.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.4178, allocations: 0 / 0.5877 GB, free: 8.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004902/0.4183, allocations: 105.6 kB / 0.5878 GB, free: 8.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.4183, allocations: 51.41 kB / 0.5878 GB, free: 8.102 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4184, allocations: 105.8 kB / 0.5879 GB, free: 7.988 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.4184, allocations: 25.7 kB / 0.588 GB, free: 7.957 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.4185, allocations: 88.03 kB / 0.588 GB, free: 7.867 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.4185, allocations: 23.83 kB / 0.5881 GB, free: 7.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.4185, allocations: 17.72 kB / 0.5881 GB, free: 7.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4187, allocations: 318.7 kB / 0.5884 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.4187, allocations: 4 kB / 0.5884 GB, free: 7.496 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.4187, allocations: 34.56 kB / 0.5884 GB, free: 7.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.059e-05/0.4188, allocations: 34.95 kB / 0.5885 GB, free: 7.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4188, allocations: 0 / 0.5885 GB, free: 7.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001131/0.4189, allocations: 77.55 kB / 0.5885 GB, free: 7.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4189, allocations: 4 kB / 0.5885 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4189, allocations: 3.938 kB / 0.5885 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.419, allocations: 4 kB / 0.5885 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.419, allocations: 8.062 kB / 0.5886 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.81e-06/0.419, allocations: 4 kB / 0.5886 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.4191, allocations: 3.938 kB / 0.5886 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.4191, allocations: 8 kB / 0.5886 GB, free: 7.293 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.803e-05/0.4192, allocations: 109.8 kB / 0.5887 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.4192, allocations: 3.984 kB / 0.5887 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.4196, allocations: 399 kB / 0.5891 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.4196, allocations: 8 kB / 0.5891 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4197, allocations: 192 / 0.5891 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4197, allocations: 3.938 kB / 0.5891 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.4199, allocations: 265.3 kB / 0.5893 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4199, allocations: 0 / 0.5893 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.42, allocations: 4 kB / 0.5893 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.42, allocations: 0 / 0.5893 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.42, allocations: 8 kB / 0.5893 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.42, allocations: 0 / 0.5893 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.42, allocations: 0 / 0.5893 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.4203, allocations: 293.7 kB / 0.5896 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.4203, allocations: 19.77 kB / 0.5896 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.4203, allocations: 3.984 kB / 0.5896 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.834e-05/0.4204, allocations: 0 / 0.5896 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.4204, allocations: 8 kB / 0.5896 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4204, allocations: 7.875 kB / 0.5897 GB, free: 6.109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.4204, allocations: 87.27 kB / 0.5897 GB, free: 6.023 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4204, allocations: 0 / 0.5897 GB, free: 6.023 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00116/0.4216, allocations: 447.4 kB / 0.5902 GB, free: 5.586 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002238/0.4238, allocations: 1.277 MB / 0.5914 GB, free: 4.281 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.424, allocations: 87.83 kB / 0.5915 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.424, allocations: 4 kB / 0.5915 GB, free: 4.191 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.4241, allocations: 63.97 kB / 0.5916 GB, free: 4.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.4244, allocations: 19.92 kB / 0.5916 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009737/0.4253, allocations: 470 kB / 0.592 GB, free: 3.605 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.242e-05/0.4254, allocations: 101.7 kB / 0.5921 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.246e-05/0.4255, allocations: 23.91 kB / 0.5921 GB, free: 3.465 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.4256, allocations: 31.42 kB / 0.5922 GB, free: 3.434 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4256, allocations: 0 / 0.5922 GB, free: 3.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04897/0.4745, allocations: 16.25 MB / 0.608 GB, free: 3.305 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.53, allocations: 3.938 kB / 0.608 GB, free: 3.301 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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: 14.46672073501395]