Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001557/0.001557, allocations: 109.1 kB / 21.22 MB, free: 0.7383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 210.7 kB / 24.52 MB, free: 4.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2102/0.2102, allocations: 46.92 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002899/0.002899, allocations: 79.86 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3058, allocations: 66.09 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01625/0.322, allocations: 12.61 MB / 0.5738 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3236, allocations: 1.397 MB / 0.5752 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.3236, allocations: 3.938 kB / 0.5752 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.3237, allocations: 27.86 kB / 0.5752 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005109/0.3289, allocations: 2.24 MB / 0.5774 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.02e-06/0.3289, allocations: 0 / 0.5774 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.068e-05/0.3289, allocations: 39.69 kB / 0.5774 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.329, allocations: 7.984 kB / 0.5774 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.276e-05/0.3291, allocations: 12 kB / 0.5774 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.3291, allocations: 11.94 kB / 0.5775 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.3291, allocations: 3.938 kB / 0.5775 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006114/0.3352, allocations: 3.863 MB / 0.5812 GB, free: 24 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.3353, allocations: 7.938 kB / 0.5812 GB, free: 16 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.3353, allocations: 11.94 kB / 0.5812 GB, free: 4 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.3381, allocations: 1.984 MB / 0.5832 GB, free: 14.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3381, allocations: 0 / 0.5832 GB, free: 14.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3381, allocations: 0 / 0.5832 GB, free: 14.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3381, allocations: 0 / 0.5832 GB, free: 14.02 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.001128/0.3392, allocations: 0.4928 MB / 0.5837 GB, free: 13.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3392, allocations: 12.03 kB / 0.5837 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.553e-05/0.3393, allocations: 192 / 0.5837 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.3393, allocations: 34.75 kB / 0.5837 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.3394, allocations: 20.88 kB / 0.5837 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.3395, allocations: 106.5 kB / 0.5838 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.3396, allocations: 4.375 kB / 0.5838 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.3396, allocations: 12.12 kB / 0.5838 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.3398, allocations: 83.31 kB / 0.5839 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3398, allocations: 3.938 kB / 0.5839 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3398, allocations: 7.984 kB / 0.5839 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3398, allocations: 0 / 0.5839 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.34, allocations: 43.97 kB / 0.584 GB, free: 13.12 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.000424/0.3404, allocations: 336 kB / 0.5843 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3406, allocations: 62.52 kB / 0.5844 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.3406, allocations: 12.86 kB / 0.5844 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01933/0.36, allocations: 5.652 MB / 0.5899 GB, free: 7.004 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.36, allocations: 30.56 kB / 0.5899 GB, free: 6.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.36, allocations: 0 / 0.5899 GB, free: 6.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004265/0.3604, allocations: 109.6 kB / 0.59 GB, free: 6.852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3605, allocations: 55.41 kB / 0.5901 GB, free: 6.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.3605, allocations: 109.7 kB / 0.5902 GB, free: 6.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3606, allocations: 25.7 kB / 0.5902 GB, free: 6.637 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.3606, allocations: 88.09 kB / 0.5903 GB, free: 6.547 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.3606, allocations: 15.84 kB / 0.5903 GB, free: 6.531 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.3607, allocations: 21.7 kB / 0.5903 GB, free: 6.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3608, allocations: 314.8 kB / 0.5906 GB, free: 6.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.3608, allocations: 4 kB / 0.5906 GB, free: 6.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.975e-05/0.3609, allocations: 30.56 kB / 0.5907 GB, free: 6.145 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.3609, allocations: 38.52 kB / 0.5907 GB, free: 6.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3609, allocations: 0 / 0.5907 GB, free: 6.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001092/0.361, allocations: 69.61 kB / 0.5908 GB, free: 6.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.361, allocations: 4 kB / 0.5908 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.361, allocations: 3.938 kB / 0.5908 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3611, allocations: 8.062 kB / 0.5908 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.3611, allocations: 8 kB / 0.5908 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.3611, allocations: 0 / 0.5908 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.3612, allocations: 7.891 kB / 0.5908 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3612, allocations: 8 kB / 0.5908 GB, free: 5.984 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 7.861e-05/0.3612, allocations: 113.8 kB / 0.5909 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.3613, allocations: 3.984 kB / 0.5909 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.3617, allocations: 387.1 kB / 0.5913 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.3617, allocations: 11.98 kB / 0.5913 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3617, allocations: 0 / 0.5913 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3617, allocations: 3.938 kB / 0.5913 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.362, allocations: 261.2 kB / 0.5915 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.362, allocations: 0 / 0.5915 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.362, allocations: 8 kB / 0.5916 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.362, allocations: 0 / 0.5916 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.362, allocations: 4.422 kB / 0.5916 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.362, allocations: 4.172 kB / 0.5916 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.362, allocations: 15.86 kB / 0.5916 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.3623, allocations: 293.7 kB / 0.5919 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.3623, allocations: 15.84 kB / 0.5919 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.3623, allocations: 0 / 0.5919 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.048e-05/0.3624, allocations: 3.984 kB / 0.5919 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.3624, allocations: 7.938 kB / 0.5919 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.3624, allocations: 0 / 0.5919 GB, free: 4.801 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.518e-05/0.3624, allocations: 87.27 kB / 0.592 GB, free: 4.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3624, allocations: 4 kB / 0.592 GB, free: 4.711 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001019/0.3635, allocations: 451.3 kB / 0.5924 GB, free: 4.27 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.002203/0.3657, allocations: 1.284 MB / 0.5937 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.3658, allocations: 87.78 kB / 0.5937 GB, free: 2.871 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.3658, allocations: 0 / 0.5937 GB, free: 2.871 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.346e-05/0.3659, allocations: 63.98 kB / 0.5938 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.3662, allocations: 19.92 kB / 0.5938 GB, free: 2.789 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.3672, allocations: 466.1 kB / 0.5943 GB, free: 2.289 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.3675, allocations: 0.7086 MB / 0.595 GB, free: 1.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.998e-05/0.3676, allocations: 31.89 kB / 0.595 GB, free: 1.523 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.3676, allocations: 31.42 kB / 0.595 GB, free: 1.492 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3676, allocations: 4 kB / 0.595 GB, free: 1.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.4071, allocations: 15.93 MB / 0.6106 GB, free: 1.648 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.35, allocations: 3.859 kB / 0.6106 GB, free: 1.645 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.302459217957221]