Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001563/0.001563, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001816/0.001816, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 44.93 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.91 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3133, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03373/0.347, allocations: 24.16 MB / 0.5806 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003684/0.3507, allocations: 2.668 MB / 0.5832 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.3509, allocations: 0 / 0.5832 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.3512, allocations: 47.61 kB / 0.5833 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.3532, allocations: 0.7422 MB / 0.584 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.3535, allocations: 139.2 kB / 0.5841 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005813/0.3541, allocations: 378.1 kB / 0.5845 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.3542, allocations: 5.812 kB / 0.5845 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03487/0.389, allocations: 15.34 MB / 0.5995 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.3894, allocations: 147.4 kB / 0.5996 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.3894, allocations: 8 kB / 0.5996 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008433/0.3979, allocations: 3.371 MB / 0.6029 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.398, allocations: 47.81 kB / 0.6029 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.3981, allocations: 95.58 kB / 0.603 GB, free: 8.133 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.3992, allocations: 458.6 kB / 0.6035 GB, free: 7.684 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3992, allocations: 0 / 0.6035 GB, free: 7.684 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3992, allocations: 0 / 0.6035 GB, free: 7.684 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3992, allocations: 0 / 0.6035 GB, free: 7.684 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.001145/0.4003, allocations: 0.5285 MB / 0.604 GB, free: 7.125 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4004, allocations: 8.031 kB / 0.604 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/0.4004, allocations: 58.73 kB / 0.604 GB, free: 7.051 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.4006, allocations: 28.8 kB / 0.6041 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.4009, allocations: 174.2 kB / 0.6042 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.4011, allocations: 230.7 kB / 0.6045 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.4011, allocations: 31.88 kB / 0.6045 GB, free: 6.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/0.4018, allocations: 489.1 kB / 0.605 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.4018, allocations: 7.938 kB / 0.605 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.4018, allocations: 12 kB / 0.605 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.4019, allocations: 7.984 kB / 0.605 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/0.4028, allocations: 0.7118 MB / 0.6057 GB, free: 5.242 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.00149/0.4042, allocations: 1.081 MB / 0.6067 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.4046, allocations: 163.6 kB / 0.6069 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.4048, allocations: 77.48 kB / 0.607 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/0.4064, allocations: 0.7115 MB / 0.6077 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.4064, allocations: 38.56 kB / 0.6077 GB, free: 3.066 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.4064, allocations: 0 / 0.6077 GB, free: 3.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003009/0.4067, allocations: 121.4 kB / 0.6078 GB, free: 2.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.4068, allocations: 51.41 kB / 0.6079 GB, free: 2.879 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.407, allocations: 242.6 kB / 0.6081 GB, free: 2.633 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.407, allocations: 29.7 kB / 0.6081 GB, free: 2.598 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.4072, allocations: 227.4 kB / 0.6083 GB, free: 2.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.4072, allocations: 47.66 kB / 0.6084 GB, free: 2.324 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.4073, allocations: 86.03 kB / 0.6085 GB, free: 2.234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4075, allocations: 326.8 kB / 0.6088 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.4076, allocations: 44.84 kB / 0.6088 GB, free: 1.863 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.4081, allocations: 347.2 kB / 0.6092 GB, free: 1.375 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.4086, allocations: 444.5 kB / 0.6096 GB, free: 0.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.4086, allocations: 4 kB / 0.6096 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005841/0.4091, allocations: 389.5 kB / 0.61 GB, free: 412 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4092, allocations: 8 kB / 0.61 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.4092, allocations: 15.94 kB / 0.61 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-05/0.4093, allocations: 12 kB / 0.61 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.4095, allocations: 99.83 kB / 0.6101 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.4095, allocations: 19.88 kB / 0.6101 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.4098, allocations: 56.11 kB / 0.6102 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.4098, allocations: 32 kB / 0.6102 GB, free: 168 kB / 446.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.000179/0.41, allocations: 153.5 kB / 0.6103 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.4101, allocations: 20.09 kB / 0.6104 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.4103, allocations: 156.7 kB / 0.6105 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.4104, allocations: 0 / 0.6105 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4104, allocations: 4 kB / 0.6105 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4104, allocations: 0 / 0.6105 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.4109, allocations: 376 kB / 0.6109 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.4109, allocations: 0 / 0.6109 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.411, allocations: 19.92 kB / 0.6109 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.411, allocations: 0 / 0.6109 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.411, allocations: 8.062 kB / 0.6109 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.411, allocations: 96 / 0.6109 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.411, allocations: 4 kB / 0.6109 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.4112, allocations: 209.8 kB / 0.6111 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.4112, allocations: 19.91 kB / 0.6111 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.4113, allocations: 7.938 kB / 0.6111 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.4114, allocations: 3.984 kB / 0.6111 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.4114, allocations: 7.984 kB / 0.6111 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.4115, allocations: 8 kB / 0.6111 GB, free: 15.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.4116, allocations: 152.5 kB / 0.6113 GB, free: 14.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4116, allocations: 0 / 0.6113 GB, free: 14.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005058/0.4121, allocations: 99.83 kB / 0.6114 GB, free: 14.84 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.0007916/0.4129, allocations: 0.7969 MB / 0.6122 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.4133, allocations: 166.1 kB / 0.6123 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4133, allocations: 0 / 0.6123 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.4133, allocations: 23.92 kB / 0.6123 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.4138, allocations: 48.38 kB / 0.6124 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.4172, allocations: 2.82 MB / 0.6151 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.4173, allocations: 116.5 kB / 0.6152 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.4175, allocations: 50.92 kB / 0.6153 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.4176, allocations: 59.42 kB / 0.6154 GB, free: 10.32 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4176, allocations: 0 / 0.6154 GB, free: 10.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.4524, allocations: 5.894 MB / 0.6211 GB, free: 4.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.67, allocations: 6.688 kB / 0.6211 GB, free: 4.586 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.711528402287513]