Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001574/0.001574, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001783/0.001783, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.446/1.446, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2187/0.2187, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 79.88 kB / 0.4917 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1296, allocations: 66.05 MB / 0.5562 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.0359/0.1655, allocations: 27.03 MB / 0.5826 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003504/0.169, allocations: 2.959 MB / 0.5855 GB, free: 7.375 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.1691, allocations: 4 kB / 0.5855 GB, free: 7.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.1694, allocations: 55.59 kB / 0.5855 GB, free: 7.316 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.171, allocations: 0.7266 MB / 0.5862 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.1714, allocations: 144.9 kB / 0.5864 GB, free: 6.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.1719, allocations: 370.1 kB / 0.5867 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.1719, allocations: 9.688 kB / 0.5867 GB, free: 6.078 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.309/0.481, allocations: 15.52 MB / 0.6019 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.4814, allocations: 152.5 kB / 0.602 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.4814, allocations: 8.125 kB / 0.602 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007811/0.4892, allocations: 3.463 MB / 0.6054 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.4893, allocations: 44.64 kB / 0.6055 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.4895, allocations: 106.6 kB / 0.6056 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009855/0.4905, allocations: 473.1 kB / 0.606 GB, free: 4.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4905, allocations: 0 / 0.606 GB, free: 4.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4905, allocations: 0 / 0.606 GB, free: 4.016 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4905, allocations: 4 kB / 0.606 GB, free: 4.012 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001033/0.4915, allocations: 0.6023 MB / 0.6066 GB, free: 3.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4916, allocations: 8.969 kB / 0.6066 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.441e-05/0.4916, allocations: 12.64 kB / 0.6066 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.4916, allocations: 60.2 kB / 0.6067 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.4918, allocations: 29.52 kB / 0.6067 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.4921, allocations: 225 kB / 0.6069 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/0.4922, allocations: 124 kB / 0.6071 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.4923, allocations: 22.28 kB / 0.6071 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.4929, allocations: 328.3 kB / 0.6074 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4929, allocations: 0.5938 kB / 0.6074 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.4929, allocations: 13.91 kB / 0.6074 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.4929, allocations: 7.219 kB / 0.6074 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009742/0.4939, allocations: 0.7344 MB / 0.6081 GB, free: 3.082 MB / 446.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.001274/0.4952, allocations: 1.301 MB / 0.6094 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.4956, allocations: 158.1 kB / 0.6095 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.4957, allocations: 79.03 kB / 0.6096 GB, free: 2.031 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002547/0.4983, allocations: 2.813 MB / 0.6124 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.4983, allocations: 38.19 kB / 0.6124 GB, free: 15.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/0.4983, allocations: 2.719 kB / 0.6124 GB, free: 15.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003406/0.4986, allocations: 122.9 kB / 0.6125 GB, free: 15.06 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.4987, allocations: 55.19 kB / 0.6126 GB, free: 15 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.4989, allocations: 221.9 kB / 0.6128 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.4989, allocations: 26.8 kB / 0.6128 GB, free: 14.85 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.4991, allocations: 224.1 kB / 0.613 GB, free: 14.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.4992, allocations: 47.58 kB / 0.6131 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.4993, allocations: 83.95 kB / 0.6132 GB, free: 14.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4994, allocations: 331.4 kB / 0.6135 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.4995, allocations: 45.84 kB / 0.6135 GB, free: 14.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.4999, allocations: 343.6 kB / 0.6138 GB, free: 13.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.5003, allocations: 449.3 kB / 0.6143 GB, free: 13.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.5003, allocations: 3.125 kB / 0.6143 GB, free: 13.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005886/0.5009, allocations: 383.5 kB / 0.6146 GB, free: 13.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.5009, allocations: 10.05 kB / 0.6147 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/0.501, allocations: 16.12 kB / 0.6147 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.501, allocations: 14.12 kB / 0.6147 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.5013, allocations: 102.9 kB / 0.6148 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.5013, allocations: 20.5 kB / 0.6148 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.5015, allocations: 54.55 kB / 0.6148 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.5016, allocations: 29.38 kB / 0.6149 GB, free: 13.43 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001478/0.5017, allocations: 153.8 kB / 0.615 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.5018, allocations: 18.16 kB / 0.615 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.5021, allocations: 151.6 kB / 0.6152 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5021, allocations: 3.781 kB / 0.6152 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.5021, allocations: 2.625 kB / 0.6152 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5021, allocations: 0.5156 kB / 0.6152 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.5026, allocations: 415.7 kB / 0.6156 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5026, allocations: 0 / 0.6156 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.5027, allocations: 16.42 kB / 0.6156 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5027, allocations: 1.375 kB / 0.6156 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.5027, allocations: 1.984 kB / 0.6156 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.5027, allocations: 7.766 kB / 0.6156 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5027, allocations: 1.891 kB / 0.6156 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.503, allocations: 210.1 kB / 0.6158 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.093e-05/0.5031, allocations: 96.11 kB / 0.6159 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.5031, allocations: 9.047 kB / 0.6159 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.5032, allocations: 6.984 kB / 0.6159 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.5033, allocations: 5.484 kB / 0.6159 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.5033, allocations: 4.969 kB / 0.6159 GB, free: 12.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.5034, allocations: 160.4 kB / 0.6161 GB, free: 12.55 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5034, allocations: 0 / 0.6161 GB, free: 12.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005465/0.504, allocations: 91.2 kB / 0.6162 GB, free: 12.54 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0007366/0.5047, allocations: 0.8077 MB / 0.617 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.5051, allocations: 168.3 kB / 0.6171 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5051, allocations: 1.062 kB / 0.6171 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.5051, allocations: 19.55 kB / 0.6171 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.5055, allocations: 44.58 kB / 0.6172 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.5088, allocations: 2.814 MB / 0.6199 GB, free: 9.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.5092, allocations: 0.7217 MB / 0.6206 GB, free: 8.984 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.5094, allocations: 53.23 kB / 0.6207 GB, free: 8.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.119e-05/0.5094, allocations: 60.69 kB / 0.6207 GB, free: 8.961 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5094, allocations: 0 / 0.6207 GB, free: 8.961 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.5326, allocations: 5.318 MB / 0.6259 GB, free: 8.234 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.695, allocations: 11.58 kB / 0.6259 GB, free: 8.227 MB / 462.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.846719328023028]