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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 119 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 194.9 kB / 21.44 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.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.2274/0.2274, allocations: 44.92 MB / 349.6 MB, free: 1.738 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 70.45 kB / 491.8 MB, free: 29.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1358, allocations: 64.26 MB / 0.543 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03412/0.1699, allocations: 26.9 MB / 0.5693 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003782/0.1737, allocations: 2.963 MB / 0.5722 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1738, allocations: 0 / 0.5722 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1741, allocations: 55.59 kB / 0.5723 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.1761, allocations: 0.7227 MB / 0.573 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.1764, allocations: 135.1 kB / 0.5731 GB, free: 5.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005354/0.1769, allocations: 370.2 kB / 0.5734 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.177, allocations: 5.688 kB / 0.5734 GB, free: 4.824 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03638/0.2134, allocations: 15.52 MB / 0.5886 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.2137, allocations: 147.5 kB / 0.5887 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.2138, allocations: 8 kB / 0.5888 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00812/0.2219, allocations: 3.463 MB / 0.5921 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.222, allocations: 51.75 kB / 0.5922 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.2222, allocations: 99.47 kB / 0.5923 GB, free: 1.375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2233, allocations: 482.5 kB / 0.5927 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2233, allocations: 0 / 0.5927 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.2233, allocations: 0 / 0.5927 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2233, allocations: 0 / 0.5927 GB, free: 0.9023 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.001254/0.2246, allocations: 0.6039 MB / 0.5933 GB, free: 256 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.2246, allocations: 12.03 kB / 0.5933 GB, free: 244 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.348e-05/0.2247, allocations: 62.72 kB / 0.5934 GB, free: 172 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.2248, allocations: 28.8 kB / 0.5934 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.2253, allocations: 224.1 kB / 0.5936 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.2254, allocations: 127.9 kB / 0.5938 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.2254, allocations: 19.94 kB / 0.5938 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.226, allocations: 331.6 kB / 0.5941 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.226, allocations: 0 / 0.5941 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.226, allocations: 12 kB / 0.5941 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.226, allocations: 11.94 kB / 0.5941 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000849/0.2269, allocations: 0.7313 MB / 0.5948 GB, free: 14.61 MB / 462.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.001501/0.2284, allocations: 1.308 MB / 0.5961 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.2288, allocations: 155.7 kB / 0.5963 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.2289, allocations: 81.47 kB / 0.5963 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002885/0.2318, allocations: 2.806 MB / 0.5991 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.2318, allocations: 38.56 kB / 0.5991 GB, free: 9.551 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.2318, allocations: 0 / 0.5991 GB, free: 9.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.000326/0.2322, allocations: 121.4 kB / 0.5992 GB, free: 9.426 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.2322, allocations: 55.41 kB / 0.5993 GB, free: 9.359 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.2324, allocations: 222.7 kB / 0.5995 GB, free: 9.133 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.2324, allocations: 25.7 kB / 0.5995 GB, free: 9.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.2326, allocations: 227.4 kB / 0.5997 GB, free: 8.871 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.2326, allocations: 47.62 kB / 0.5998 GB, free: 8.824 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2328, allocations: 86.03 kB / 0.5999 GB, free: 8.734 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2329, allocations: 330.8 kB / 0.6002 GB, free: 8.402 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.282e-05/0.233, allocations: 48.84 kB / 0.6002 GB, free: 8.355 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.2333, allocations: 343.2 kB / 0.6006 GB, free: 7.875 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.2338, allocations: 440.5 kB / 0.601 GB, free: 7.297 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.2338, allocations: 4 kB / 0.601 GB, free: 7.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005921/0.2344, allocations: 384.9 kB / 0.6013 GB, free: 6.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.2345, allocations: 13 kB / 0.6014 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.2345, allocations: 15.92 kB / 0.6014 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.2345, allocations: 20 kB / 0.6014 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.2347, allocations: 91.84 kB / 0.6015 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/0.2348, allocations: 23.92 kB / 0.6015 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.235, allocations: 51.62 kB / 0.6016 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.235, allocations: 28 kB / 0.6016 GB, free: 6.672 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.0001419/0.2352, allocations: 161.5 kB / 0.6017 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.2352, allocations: 23.94 kB / 0.6018 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.2355, allocations: 144.9 kB / 0.6019 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.2355, allocations: 0 / 0.6019 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2355, allocations: 0 / 0.6019 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2355, allocations: 96 / 0.6019 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.2361, allocations: 416.8 kB / 0.6023 GB, free: 5.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.2361, allocations: 4.062 kB / 0.6023 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.2361, allocations: 15.94 kB / 0.6023 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2361, allocations: 0 / 0.6023 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2361, allocations: 4 kB / 0.6023 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2361, allocations: 0 / 0.6023 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2361, allocations: 0 / 0.6023 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.2363, allocations: 214 kB / 0.6025 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.2364, allocations: 104.9 kB / 0.6026 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.2365, allocations: 4 kB / 0.6026 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.2366, allocations: 4 kB / 0.6026 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.2367, allocations: 11.98 kB / 0.6026 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2367, allocations: 8 kB / 0.6026 GB, free: 5.449 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.2368, allocations: 152.5 kB / 0.6028 GB, free: 5.301 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2368, allocations: 0 / 0.6028 GB, free: 5.301 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005035/0.2373, allocations: 91.88 kB / 0.6029 GB, free: 5.211 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.0007349/0.238, allocations: 0.8005 MB / 0.6037 GB, free: 4.371 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.2384, allocations: 165.9 kB / 0.6038 GB, free: 4.211 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2384, allocations: 0 / 0.6038 GB, free: 4.211 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.2384, allocations: 23.92 kB / 0.6038 GB, free: 4.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.2388, allocations: 49.14 kB / 0.6039 GB, free: 4.141 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.2423, allocations: 2.815 MB / 0.6066 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.2427, allocations: 0.7245 MB / 0.6073 GB, free: 196 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.2429, allocations: 50.92 kB / 0.6074 GB, free: 140 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.785e-05/0.243, allocations: 63.41 kB / 0.6075 GB, free: 76 kB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.243, allocations: 0 / 0.6075 GB, free: 76 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3062/0.5492, allocations: 5.263 MB / 0.6126 GB, free: 65.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.586, allocations: 13.88 kB / 0.6126 GB, free: 65.03 MB / 462.1 MB " [Timeout remaining time 651] (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_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_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: 11.768190811853856]