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.00131/0.00131, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.001359/0.001359, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.461/1.461, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2273/0.2273, allocations: 46.9 MB / 357.4 MB, free: 10.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 75.88 kB / 0.4913 GB, free: 8.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1347, allocations: 65.99 MB / 0.5557 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03383/0.1685, allocations: 27.03 MB / 0.5821 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003687/0.1722, allocations: 2.963 MB / 0.585 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1724, allocations: 3.938 kB / 0.585 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.1727, allocations: 47.67 kB / 0.5851 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.1748, allocations: 0.7382 MB / 0.5858 GB, free: 7.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.1752, allocations: 135.7 kB / 0.5859 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005899/0.1758, allocations: 370.1 kB / 0.5863 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/0.1758, allocations: 9.672 kB / 0.5863 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3114/0.4872, allocations: 15.52 MB / 0.6014 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003755/0.4876, allocations: 152 kB / 0.6016 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.4876, allocations: 7.562 kB / 0.6016 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008555/0.4962, allocations: 3.458 MB / 0.605 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.4963, allocations: 46.67 kB / 0.605 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.4965, allocations: 109.7 kB / 0.6051 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.4979, allocations: 467.9 kB / 0.6055 GB, free: 4.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4979, allocations: 0 / 0.6055 GB, free: 4.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4979, allocations: 1.219 kB / 0.6056 GB, free: 4.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.4979, allocations: 0 / 0.6056 GB, free: 4.922 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.001194/0.4991, allocations: 0.6026 MB / 0.6061 GB, free: 4.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4992, allocations: 11.02 kB / 0.6061 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.4992, allocations: 58.62 kB / 0.6062 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.4994, allocations: 31 kB / 0.6062 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.4997, allocations: 232.5 kB / 0.6065 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.4998, allocations: 131.7 kB / 0.6066 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.4999, allocations: 22.12 kB / 0.6066 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.5005, allocations: 322.5 kB / 0.6069 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.5005, allocations: 5.031 kB / 0.6069 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.5006, allocations: 10.48 kB / 0.6069 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.5006, allocations: 7.328 kB / 0.6069 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.5018, allocations: 0.7345 MB / 0.6077 GB, free: 3.98 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.001268/0.503, allocations: 1.309 MB / 0.6089 GB, free: 2.965 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.5034, allocations: 152 kB / 0.6091 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.5035, allocations: 78.31 kB / 0.6091 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/0.5053, allocations: 2.815 MB / 0.6119 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.5054, allocations: 32.89 kB / 0.6119 GB, free: 8 kB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 2.164e-06/0.5054, allocations: 0.6094 kB / 0.6119 GB, free: 8 kB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003187/0.5057, allocations: 114.8 kB / 0.612 GB, free: 15.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.5057, allocations: 60.34 kB / 0.6121 GB, free: 15.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.506, allocations: 228.5 kB / 0.6123 GB, free: 15.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.5061, allocations: 26.95 kB / 0.6123 GB, free: 15.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.5063, allocations: 225.2 kB / 0.6126 GB, free: 15.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.5063, allocations: 45.75 kB / 0.6126 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.5064, allocations: 87.58 kB / 0.6127 GB, free: 15.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5066, allocations: 327.3 kB / 0.613 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-05/0.5067, allocations: 48.47 kB / 0.613 GB, free: 15.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.5071, allocations: 347.5 kB / 0.6134 GB, free: 14.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.5076, allocations: 448.8 kB / 0.6138 GB, free: 14.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.5076, allocations: 2.906 kB / 0.6138 GB, free: 14.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005562/0.5081, allocations: 385.8 kB / 0.6142 GB, free: 14.37 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5082, allocations: 9.922 kB / 0.6142 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.5082, allocations: 10.69 kB / 0.6142 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.5082, allocations: 17.75 kB / 0.6142 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.5085, allocations: 107.4 kB / 0.6143 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.5085, allocations: 19.25 kB / 0.6143 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.5087, allocations: 53.53 kB / 0.6144 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.5088, allocations: 29.23 kB / 0.6144 GB, free: 14.34 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.000139/0.5089, allocations: 156.8 kB / 0.6146 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.509, allocations: 22.86 kB / 0.6146 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.5093, allocations: 143.4 kB / 0.6147 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.5093, allocations: 7.781 kB / 0.6147 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5093, allocations: 0.75 kB / 0.6147 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.5093, allocations: 0 / 0.6147 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.5098, allocations: 405.9 kB / 0.6151 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5098, allocations: 2.094 kB / 0.6151 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.5099, allocations: 13.23 kB / 0.6151 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5099, allocations: 5.031 kB / 0.6151 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5099, allocations: 5.266 kB / 0.6151 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5099, allocations: 2.219 kB / 0.6151 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5099, allocations: 7.578 kB / 0.6151 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.5101, allocations: 206.6 kB / 0.6153 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5102, allocations: 103 kB / 0.6154 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.5102, allocations: 3.891 kB / 0.6154 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.5104, allocations: 3.625 kB / 0.6154 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.5104, allocations: 11.09 kB / 0.6155 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.5104, allocations: 3.828 kB / 0.6155 GB, free: 13.53 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.5106, allocations: 157.4 kB / 0.6156 GB, free: 13.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5106, allocations: 1.312 kB / 0.6156 GB, free: 13.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005392/0.5111, allocations: 90 kB / 0.6157 GB, free: 13.45 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.0007472/0.5119, allocations: 0.8094 MB / 0.6165 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.5122, allocations: 164.4 kB / 0.6166 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5122, allocations: 0.8125 kB / 0.6166 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.5122, allocations: 23.5 kB / 0.6167 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.5126, allocations: 49.34 kB / 0.6167 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.5161, allocations: 2.813 MB / 0.6195 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.5165, allocations: 0.7254 MB / 0.6202 GB, free: 9.871 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001924/0.5167, allocations: 53.44 kB / 0.6202 GB, free: 9.852 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.5168, allocations: 61.09 kB / 0.6203 GB, free: 9.848 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5168, allocations: 0 / 0.6203 GB, free: 9.848 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.5454, allocations: 5.282 MB / 0.6254 GB, free: 9.125 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.672, allocations: 16.7 kB / 0.6255 GB, free: 9.117 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_2/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_2/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.693947201129049]