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.001957/0.001957, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002322/0.002322, allocations: 216.3 kB / 24.53 MB, free: 4.066 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.2268/0.2268, allocations: 46.93 MB / 361.6 MB, free: 4.254 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 63.91 kB / 0.4969 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3237, allocations: 66.03 MB / 0.5614 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01728/0.341, allocations: 12.61 MB / 0.5737 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.3426, allocations: 1.397 MB / 0.5751 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.3426, allocations: 4 kB / 0.5751 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.3428, allocations: 35.81 kB / 0.5751 GB, free: 6.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00687/0.3496, allocations: 2.233 MB / 0.5773 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.972e-06/0.3496, allocations: 0 / 0.5773 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3498, allocations: 47.67 kB / 0.5773 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.3498, allocations: 0 / 0.5773 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.3499, allocations: 11.98 kB / 0.5774 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.35, allocations: 15.92 kB / 0.5774 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.35, allocations: 0 / 0.5774 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007366/0.3573, allocations: 3.859 MB / 0.5811 GB, free: 180 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.3573, allocations: 7.922 kB / 0.5811 GB, free: 172 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.3574, allocations: 11.94 kB / 0.5812 GB, free: 160 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.3607, allocations: 1.976 MB / 0.5831 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3607, allocations: 0 / 0.5831 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3607, allocations: 3.938 kB / 0.5831 GB, free: 14.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3607, allocations: 4 kB / 0.5831 GB, free: 14.17 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.001091/0.3618, allocations: 0.4928 MB / 0.5836 GB, free: 13.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3618, allocations: 8.031 kB / 0.5836 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.345e-05/0.3618, allocations: 192 / 0.5836 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.3619, allocations: 38.75 kB / 0.5836 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.362, allocations: 12.88 kB / 0.5836 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3621, allocations: 110.5 kB / 0.5837 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.3621, allocations: 384 / 0.5837 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.3621, allocations: 20.11 kB / 0.5838 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.3624, allocations: 99.22 kB / 0.5839 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3624, allocations: 0 / 0.5839 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3624, allocations: 0 / 0.5839 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3624, allocations: 0 / 0.5839 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.3626, allocations: 47.95 kB / 0.5839 GB, free: 13.27 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.0004583/0.363, allocations: 332 kB / 0.5842 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3632, allocations: 54.48 kB / 0.5843 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.3633, allocations: 16.94 kB / 0.5843 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02176/0.385, allocations: 5.652 MB / 0.5898 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.3851, allocations: 30.56 kB / 0.5898 GB, free: 7.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.464e-06/0.3851, allocations: 0 / 0.5898 GB, free: 7.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005104/0.3856, allocations: 113.5 kB / 0.5899 GB, free: 7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.3856, allocations: 55.34 kB / 0.59 GB, free: 6.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3857, allocations: 101.8 kB / 0.5901 GB, free: 6.824 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.3857, allocations: 25.7 kB / 0.5901 GB, free: 6.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.3858, allocations: 92.08 kB / 0.5902 GB, free: 6.699 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.3858, allocations: 19.84 kB / 0.5902 GB, free: 6.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.3859, allocations: 21.72 kB / 0.5902 GB, free: 6.652 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.386, allocations: 314.8 kB / 0.5905 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.386, allocations: 8 kB / 0.5906 GB, free: 6.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.3861, allocations: 22.7 kB / 0.5906 GB, free: 6.297 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/0.3862, allocations: 50.5 kB / 0.5906 GB, free: 6.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3862, allocations: 0 / 0.5906 GB, free: 6.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001199/0.3863, allocations: 61.62 kB / 0.5907 GB, free: 6.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3863, allocations: 4 kB / 0.5907 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3863, allocations: 4.422 kB / 0.5907 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3863, allocations: 0 / 0.5907 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.3864, allocations: 8 kB / 0.5907 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3864, allocations: 3.984 kB / 0.5907 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.3864, allocations: 11.89 kB / 0.5907 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.3865, allocations: 8.062 kB / 0.5907 GB, free: 6.133 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 9.089e-05/0.3865, allocations: 113.8 kB / 0.5908 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.3866, allocations: 0 / 0.5908 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000485/0.3871, allocations: 395.1 kB / 0.5912 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.3871, allocations: 7.984 kB / 0.5912 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3871, allocations: 0 / 0.5912 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3871, allocations: 3.938 kB / 0.5912 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.3874, allocations: 253.3 kB / 0.5915 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3874, allocations: 4 kB / 0.5915 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.3874, allocations: 15.92 kB / 0.5915 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3874, allocations: 0 / 0.5915 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3874, allocations: 4 kB / 0.5915 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3874, allocations: 3.938 kB / 0.5915 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3874, allocations: 0 / 0.5915 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.3877, allocations: 293.6 kB / 0.5918 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.3878, allocations: 15.84 kB / 0.5918 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.3878, allocations: 8 kB / 0.5918 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.793e-05/0.3878, allocations: 0 / 0.5918 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.3879, allocations: 7.922 kB / 0.5918 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.3879, allocations: 8 kB / 0.5918 GB, free: 4.949 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.533e-05/0.3879, allocations: 75.28 kB / 0.5919 GB, free: 4.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3879, allocations: 0 / 0.5919 GB, free: 4.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001232/0.3891, allocations: 451.3 kB / 0.5923 GB, free: 4.434 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.002779/0.3919, allocations: 1.296 MB / 0.5936 GB, free: 3.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.3921, allocations: 83.91 kB / 0.5937 GB, free: 3.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3921, allocations: 4.125 kB / 0.5937 GB, free: 3.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3922, allocations: 67.92 kB / 0.5937 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.3925, allocations: 19.92 kB / 0.5937 GB, free: 2.938 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.3938, allocations: 470 kB / 0.5942 GB, free: 2.434 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3941, allocations: 0.7086 MB / 0.5949 GB, free: 1.699 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.092e-05/0.3942, allocations: 23.97 kB / 0.5949 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.3942, allocations: 31.42 kB / 0.5949 GB, free: 1.645 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3942, allocations: 3.938 kB / 0.5949 GB, free: 1.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/0.437, allocations: 15.94 MB / 0.6105 GB, free: 1.824 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.83, allocations: 10.75 kB / 0.6105 GB, free: 1.816 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: 15.01943010604009]