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.001271/0.001271, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001366/0.001366, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.418/1.418, allocations: 230.5 MB / 258.2 MB, free: 7.809 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.2265/0.2265, allocations: 46.94 MB / 361.6 MB, free: 3.949 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.002239/0.002239, allocations: 71.89 kB / 0.4969 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3245, allocations: 66.08 MB / 0.5614 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0165/0.341, allocations: 11.46 MB / 0.5726 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.3425, allocations: 1.218 MB / 0.5738 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.3426, allocations: 4 kB / 0.5738 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.3428, allocations: 23.83 kB / 0.5738 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006044/0.3488, allocations: 2.211 MB / 0.576 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.352e-06/0.3488, allocations: 0 / 0.576 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.3489, allocations: 39.73 kB / 0.576 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.349, allocations: 4 kB / 0.576 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.3491, allocations: 15.92 kB / 0.5761 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.3491, allocations: 19.92 kB / 0.5761 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.3491, allocations: 0 / 0.5761 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006223/0.3553, allocations: 3.828 MB / 0.5798 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.3554, allocations: 11.92 kB / 0.5798 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.3554, allocations: 11.94 kB / 0.5798 GB, free: 1.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.3581, allocations: 1.973 MB / 0.5818 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3581, allocations: 0 / 0.5818 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3581, allocations: 0 / 0.5818 GB, free: 15.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3581, allocations: 4 kB / 0.5818 GB, free: 15.2 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.001067/0.3592, allocations: 0.4966 MB / 0.5822 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3592, allocations: 8.031 kB / 0.5823 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.683e-05/0.3592, allocations: 192 / 0.5823 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.3593, allocations: 38.75 kB / 0.5823 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.3594, allocations: 16.81 kB / 0.5823 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.3595, allocations: 106.5 kB / 0.5824 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3595, allocations: 8.375 kB / 0.5824 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3595, allocations: 8.125 kB / 0.5824 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.3598, allocations: 91.34 kB / 0.5825 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3598, allocations: 4 kB / 0.5825 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.3598, allocations: 0 / 0.5825 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3598, allocations: 4 kB / 0.5825 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.36, allocations: 47.89 kB / 0.5826 GB, free: 14.3 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.0004356/0.3604, allocations: 324.1 kB / 0.5829 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.3606, allocations: 66.41 kB / 0.5829 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.3606, allocations: 12.86 kB / 0.5829 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01878/0.3794, allocations: 5.683 MB / 0.5885 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.3794, allocations: 34.56 kB / 0.5885 GB, free: 8.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.3794, allocations: 0 / 0.5885 GB, free: 8.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005087/0.38, allocations: 101.6 kB / 0.5886 GB, free: 8.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.38, allocations: 55.41 kB / 0.5887 GB, free: 7.945 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/0.3801, allocations: 105.8 kB / 0.5888 GB, free: 7.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.3801, allocations: 25.7 kB / 0.5888 GB, free: 7.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.3802, allocations: 88.09 kB / 0.5889 GB, free: 7.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.3802, allocations: 23.83 kB / 0.5889 GB, free: 7.688 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.3802, allocations: 25.64 kB / 0.5889 GB, free: 7.656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3804, allocations: 314.8 kB / 0.5892 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.3804, allocations: 8 kB / 0.5892 GB, free: 7.332 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.494e-05/0.3804, allocations: 26.56 kB / 0.5893 GB, free: 7.297 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.266e-05/0.3805, allocations: 34.58 kB / 0.5893 GB, free: 7.254 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3805, allocations: 0 / 0.5893 GB, free: 7.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001033/0.3806, allocations: 61.62 kB / 0.5894 GB, free: 7.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3806, allocations: 12 kB / 0.5894 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3806, allocations: 4 kB / 0.5894 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3806, allocations: 3.984 kB / 0.5894 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.3807, allocations: 8 kB / 0.5894 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3807, allocations: 0 / 0.5894 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.3807, allocations: 16.25 kB / 0.5894 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3808, allocations: 4 kB / 0.5894 GB, free: 7.141 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.221e-05/0.3808, allocations: 109.8 kB / 0.5895 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.3809, allocations: 4 kB / 0.5895 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/0.3813, allocations: 395.1 kB / 0.5899 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.3813, allocations: 11.97 kB / 0.5899 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3813, allocations: 4 kB / 0.5899 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3813, allocations: 3.938 kB / 0.5899 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.3816, allocations: 253.3 kB / 0.5902 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3816, allocations: 3.984 kB / 0.5902 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.921e-05/0.3816, allocations: 4 kB / 0.5902 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3816, allocations: 0 / 0.5902 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3816, allocations: 4 kB / 0.5902 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3816, allocations: 192 / 0.5902 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3816, allocations: 8 kB / 0.5902 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.3819, allocations: 297.6 kB / 0.5905 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.3819, allocations: 15.84 kB / 0.5905 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3819, allocations: 0 / 0.5905 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.382, allocations: 0 / 0.5905 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.382, allocations: 15.86 kB / 0.5905 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.382, allocations: 0 / 0.5905 GB, free: 5.961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.095e-05/0.3821, allocations: 83.28 kB / 0.5906 GB, free: 5.879 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3821, allocations: 0 / 0.5906 GB, free: 5.879 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001179/0.3832, allocations: 451.3 kB / 0.591 GB, free: 5.438 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.002268/0.3855, allocations: 1.287 MB / 0.5923 GB, free: 4.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.3857, allocations: 83.84 kB / 0.5923 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3857, allocations: 0 / 0.5923 GB, free: 4.043 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.919e-05/0.3858, allocations: 63.98 kB / 0.5924 GB, free: 3.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.3861, allocations: 31.97 kB / 0.5924 GB, free: 3.949 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3871, allocations: 470 kB / 0.5929 GB, free: 3.445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.262e-05/0.3872, allocations: 97.72 kB / 0.593 GB, free: 3.332 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.81e-05/0.3872, allocations: 23.97 kB / 0.593 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.3873, allocations: 31.42 kB / 0.593 GB, free: 3.277 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3873, allocations: 0 / 0.593 GB, free: 3.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04382/0.4311, allocations: 15.91 MB / 0.6086 GB, free: 3.461 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.47, allocations: 3.938 kB / 0.6086 GB, free: 3.457 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.546127923997119]