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.001471/0.001471, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001801/0.001801, allocations: 214.9 kB / 24.51 MB, free: 3.688 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2353/0.2353, allocations: 46.97 MB / 361.7 MB, free: 4.012 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.001962/0.001962, allocations: 71.91 kB / 0.4969 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3816, allocations: 66.03 MB / 0.5613 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01721/0.3988, allocations: 11.46 MB / 0.5725 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4003, allocations: 1.222 MB / 0.5737 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.4003, allocations: 4 kB / 0.5737 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.4005, allocations: 23.84 kB / 0.5737 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005621/0.4061, allocations: 2.218 MB / 0.5759 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.45e-06/0.4061, allocations: 0 / 0.5759 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.994e-05/0.4062, allocations: 39.73 kB / 0.576 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.4063, allocations: 4 kB / 0.576 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.498e-05/0.4064, allocations: 11.94 kB / 0.576 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.4064, allocations: 23.91 kB / 0.576 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.4064, allocations: 0 / 0.576 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006765/0.4132, allocations: 3.835 MB / 0.5797 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.4132, allocations: 3.984 kB / 0.5797 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.4132, allocations: 11.94 kB / 0.5798 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003097/0.4163, allocations: 1.973 MB / 0.5817 GB, free: 15.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4163, allocations: 3.938 kB / 0.5817 GB, free: 15.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4163, allocations: 0 / 0.5817 GB, free: 15.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.4164, allocations: 0 / 0.5817 GB, free: 15.34 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.001084/0.4174, allocations: 0.4927 MB / 0.5822 GB, free: 14.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4175, allocations: 12.03 kB / 0.5822 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.43e-05/0.4175, allocations: 4.188 kB / 0.5822 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.4175, allocations: 34.75 kB / 0.5822 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.4177, allocations: 12.88 kB / 0.5822 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.4178, allocations: 110.5 kB / 0.5823 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.4178, allocations: 384 / 0.5823 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.4178, allocations: 8.125 kB / 0.5823 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.4181, allocations: 95.28 kB / 0.5824 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4181, allocations: 0 / 0.5824 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.4181, allocations: 0 / 0.5824 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4181, allocations: 8 kB / 0.5824 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.4183, allocations: 43.95 kB / 0.5825 GB, free: 14.45 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.0004635/0.4187, allocations: 328.1 kB / 0.5828 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.4189, allocations: 54.47 kB / 0.5828 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.419, allocations: 16.86 kB / 0.5829 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01952/0.4385, allocations: 5.687 MB / 0.5884 GB, free: 8.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.4385, allocations: 38.56 kB / 0.5884 GB, free: 8.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.4385, allocations: 0 / 0.5884 GB, free: 8.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005357/0.4391, allocations: 101.6 kB / 0.5885 GB, free: 8.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.4391, allocations: 51.41 kB / 0.5886 GB, free: 8.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.4393, allocations: 109.8 kB / 0.5887 GB, free: 7.973 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.4393, allocations: 25.7 kB / 0.5887 GB, free: 7.941 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.4394, allocations: 84.09 kB / 0.5888 GB, free: 7.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.4394, allocations: 19.84 kB / 0.5888 GB, free: 7.836 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.4394, allocations: 25.7 kB / 0.5888 GB, free: 7.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.4396, allocations: 314.8 kB / 0.5891 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.869e-05/0.4397, allocations: 8 kB / 0.5892 GB, free: 7.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.44e-05/0.4397, allocations: 26.56 kB / 0.5892 GB, free: 7.445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/0.4398, allocations: 38.64 kB / 0.5892 GB, free: 7.398 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4398, allocations: 4 kB / 0.5892 GB, free: 7.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001165/0.4399, allocations: 61.62 kB / 0.5893 GB, free: 7.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4399, allocations: 4 kB / 0.5893 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4399, allocations: 8.062 kB / 0.5893 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.44, allocations: 3.938 kB / 0.5893 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.44, allocations: 15.92 kB / 0.5893 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.4401, allocations: 0 / 0.5893 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.4401, allocations: 15.89 kB / 0.5893 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.4401, allocations: 0 / 0.5893 GB, free: 7.281 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 0.0001069/0.4402, allocations: 113.8 kB / 0.5894 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.4403, allocations: 0 / 0.5894 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000495/0.4408, allocations: 391.1 kB / 0.5898 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.4408, allocations: 7.984 kB / 0.5898 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4408, allocations: 4 kB / 0.5898 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4408, allocations: 7.938 kB / 0.5898 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.4411, allocations: 257.2 kB / 0.5901 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.4411, allocations: 4 kB / 0.5901 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.4411, allocations: 7.984 kB / 0.5901 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4411, allocations: 0 / 0.5901 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.4411, allocations: 0 / 0.5901 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4411, allocations: 0 / 0.5901 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4411, allocations: 0 / 0.5901 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.4415, allocations: 297.6 kB / 0.5904 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.4415, allocations: 19.84 kB / 0.5904 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.4415, allocations: 4 kB / 0.5904 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.4415, allocations: 0 / 0.5904 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.4416, allocations: 16.34 kB / 0.5904 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.4416, allocations: 0 / 0.5904 GB, free: 6.102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.98e-05/0.4416, allocations: 83.27 kB / 0.5905 GB, free: 6.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4416, allocations: 0 / 0.5905 GB, free: 6.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001709/0.4433, allocations: 451.3 kB / 0.5909 GB, free: 5.578 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.002793/0.4461, allocations: 1.292 MB / 0.5922 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.4463, allocations: 83.91 kB / 0.5923 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.4463, allocations: 0 / 0.5923 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.224e-05/0.4464, allocations: 67.92 kB / 0.5923 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.4468, allocations: 23.84 kB / 0.5923 GB, free: 4.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.448, allocations: 478.1 kB / 0.5928 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.763e-05/0.4481, allocations: 97.72 kB / 0.5929 GB, free: 3.461 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.964e-05/0.4481, allocations: 23.91 kB / 0.5929 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.4482, allocations: 31.36 kB / 0.5929 GB, free: 3.406 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4482, allocations: 4 kB / 0.593 GB, free: 3.402 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.4902, allocations: 15.9 MB / 0.6085 GB, free: 3.637 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.18, allocations: 0 / 0.6085 GB, free: 3.637 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.314750673016533]