Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001313/0.001313, allocations: 123 kB / 17.79 MB, free: 5.246 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.001348/0.001348, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.45/1.45, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2429/0.2429, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 59.91 kB / 0.491 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1394, allocations: 66 MB / 0.5554 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03366/0.173, allocations: 27.03 MB / 0.5818 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003935/0.177, allocations: 2.955 MB / 0.5847 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1771, allocations: 7.938 kB / 0.5847 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1774, allocations: 47.67 kB / 0.5847 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.1795, allocations: 0.7305 MB / 0.5855 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1798, allocations: 135.2 kB / 0.5856 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005743/0.1804, allocations: 374.1 kB / 0.5859 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.1805, allocations: 9.672 kB / 0.586 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3342/0.5147, allocations: 15.53 MB / 0.6011 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.5151, allocations: 146.1 kB / 0.6013 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.5151, allocations: 8.188 kB / 0.6013 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007958/0.5231, allocations: 3.464 MB / 0.6046 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.5232, allocations: 44.17 kB / 0.6047 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.5234, allocations: 107.4 kB / 0.6048 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009697/0.5243, allocations: 477.4 kB / 0.6052 GB, free: 4.535 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.5243, allocations: 0 / 0.6052 GB, free: 4.535 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5243, allocations: 0 / 0.6052 GB, free: 4.535 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.5244, allocations: 5.109 kB / 0.6053 GB, free: 4.531 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.001127/0.5255, allocations: 0.5967 MB / 0.6058 GB, free: 4.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.5255, allocations: 9.656 kB / 0.6058 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.5256, allocations: 59.88 kB / 0.6059 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.5257, allocations: 34.3 kB / 0.6059 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.526, allocations: 226.5 kB / 0.6062 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.5261, allocations: 124.3 kB / 0.6063 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.5261, allocations: 26.09 kB / 0.6063 GB, free: 3.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.5267, allocations: 324.7 kB / 0.6066 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.5267, allocations: 2.438 kB / 0.6066 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.5267, allocations: 10.66 kB / 0.6066 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.5267, allocations: 7.625 kB / 0.6066 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.5278, allocations: 0.739 MB / 0.6073 GB, free: 3.598 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.001142/0.529, allocations: 1.3 MB / 0.6086 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.5293, allocations: 153 kB / 0.6088 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.5294, allocations: 83.47 kB / 0.6088 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002027/0.5315, allocations: 2.813 MB / 0.6116 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.5315, allocations: 32.33 kB / 0.6116 GB, free: 15.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 3.446e-06/0.5315, allocations: 1.641 kB / 0.6116 GB, free: 15.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.000338/0.5318, allocations: 123.6 kB / 0.6117 GB, free: 15.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.5319, allocations: 53.83 kB / 0.6118 GB, free: 15.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.5321, allocations: 224.4 kB / 0.612 GB, free: 15.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.5322, allocations: 27.02 kB / 0.612 GB, free: 15.37 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.5323, allocations: 224.6 kB / 0.6122 GB, free: 15.19 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.5324, allocations: 50.84 kB / 0.6123 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.5325, allocations: 82.75 kB / 0.6124 GB, free: 15.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5326, allocations: 327.7 kB / 0.6127 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.5327, allocations: 49.25 kB / 0.6127 GB, free: 14.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.5331, allocations: 341.7 kB / 0.6131 GB, free: 14.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/0.5336, allocations: 450.5 kB / 0.6135 GB, free: 14.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.5336, allocations: 4.406 kB / 0.6135 GB, free: 14.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005703/0.5341, allocations: 383 kB / 0.6139 GB, free: 13.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.5342, allocations: 11.31 kB / 0.6139 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.5342, allocations: 10.62 kB / 0.6139 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/0.5342, allocations: 18.34 kB / 0.6139 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.5345, allocations: 106.3 kB / 0.614 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.5345, allocations: 19.53 kB / 0.614 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.5348, allocations: 58.09 kB / 0.6141 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.5348, allocations: 28.72 kB / 0.6141 GB, free: 13.95 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.000146/0.535, allocations: 154.7 kB / 0.6142 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.535, allocations: 18.03 kB / 0.6143 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.5353, allocations: 148 kB / 0.6144 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5353, allocations: 2.906 kB / 0.6144 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5353, allocations: 2.516 kB / 0.6144 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5353, allocations: 0.5156 kB / 0.6144 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.5359, allocations: 413.5 kB / 0.6148 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5359, allocations: 5.438 kB / 0.6148 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.5359, allocations: 13.78 kB / 0.6148 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5359, allocations: 2.062 kB / 0.6148 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.536, allocations: 1.828 kB / 0.6148 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.536, allocations: 1.219 kB / 0.6148 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.536, allocations: 1.859 kB / 0.6148 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.5362, allocations: 210.7 kB / 0.615 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.5363, allocations: 99.27 kB / 0.6151 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.5363, allocations: 7.125 kB / 0.6151 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.5365, allocations: 3.516 kB / 0.6151 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.5365, allocations: 10.56 kB / 0.6151 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.5365, allocations: 9.109 kB / 0.6152 GB, free: 13.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.5367, allocations: 152.8 kB / 0.6153 GB, free: 13.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5367, allocations: 4 kB / 0.6153 GB, free: 13.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005819/0.5372, allocations: 93.55 kB / 0.6154 GB, free: 13.06 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.0007643/0.538, allocations: 0.8028 MB / 0.6162 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.5383, allocations: 164.4 kB / 0.6163 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5383, allocations: 5.281 kB / 0.6163 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.5384, allocations: 27.72 kB / 0.6164 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.5388, allocations: 39.5 kB / 0.6164 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.542, allocations: 2.803 MB / 0.6191 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.5424, allocations: 0.725 MB / 0.6198 GB, free: 9.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.5426, allocations: 58.62 kB / 0.6199 GB, free: 9.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.451e-05/0.5427, allocations: 58.61 kB / 0.62 GB, free: 9.473 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.5427, allocations: 3.469 kB / 0.62 GB, free: 9.473 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.5729, allocations: 5.276 MB / 0.6251 GB, free: 8.781 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.828, allocations: 15.69 kB / 0.6251 GB, free: 8.773 MB / 462.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.036876982077956]