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.001306/0.001306, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2251/0.2251, allocations: 46.96 MB / 360.8 MB, free: 3.922 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.002402/0.002402, allocations: 87.86 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3472, allocations: 66.07 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03276/0.38, allocations: 24.17 MB / 0.5843 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.3837, allocations: 2.675 MB / 0.5869 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3838, allocations: 0 / 0.5869 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.3841, allocations: 43.62 kB / 0.587 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.386, allocations: 0.7461 MB / 0.5877 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.3863, allocations: 142 kB / 0.5878 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005514/0.3869, allocations: 382.2 kB / 0.5882 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.3869, allocations: 5.812 kB / 0.5882 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03464/0.4215, allocations: 15.34 MB / 0.6032 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.422, allocations: 151.4 kB / 0.6033 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.422, allocations: 8 kB / 0.6033 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007703/0.4297, allocations: 3.363 MB / 0.6066 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.4299, allocations: 55.73 kB / 0.6067 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.43, allocations: 83.66 kB / 0.6068 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000892/0.4309, allocations: 466.5 kB / 0.6072 GB, free: 4.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4309, allocations: 0 / 0.6072 GB, free: 4.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4309, allocations: 0 / 0.6072 GB, free: 4.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.4309, allocations: 0 / 0.6072 GB, free: 4.168 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.001174/0.4321, allocations: 0.5246 MB / 0.6077 GB, free: 3.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4321, allocations: 8.031 kB / 0.6077 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.655e-05/0.4322, allocations: 62.72 kB / 0.6078 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.4324, allocations: 28.8 kB / 0.6078 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.4327, allocations: 174.2 kB / 0.608 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.4329, allocations: 226.7 kB / 0.6082 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.4329, allocations: 27.94 kB / 0.6082 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/0.4336, allocations: 493 kB / 0.6087 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4336, allocations: 0 / 0.6087 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.4336, allocations: 12 kB / 0.6087 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.4336, allocations: 4 kB / 0.6087 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.4345, allocations: 0.7234 MB / 0.6094 GB, free: 1.73 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.001469/0.436, allocations: 1.077 MB / 0.6105 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.4365, allocations: 147.8 kB / 0.6106 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.4366, allocations: 89.45 kB / 0.6107 GB, free: 348 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/0.4382, allocations: 0.7231 MB / 0.6114 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.4382, allocations: 38.56 kB / 0.6114 GB, free: 15.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.4382, allocations: 4 kB / 0.6114 GB, free: 15.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003118/0.4385, allocations: 113.5 kB / 0.6115 GB, free: 15.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.4386, allocations: 51.41 kB / 0.6116 GB, free: 15.37 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.4388, allocations: 240.7 kB / 0.6118 GB, free: 15.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.4388, allocations: 25.7 kB / 0.6118 GB, free: 15.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.4391, allocations: 231.4 kB / 0.6121 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.4391, allocations: 35.69 kB / 0.6121 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.4392, allocations: 94.03 kB / 0.6122 GB, free: 14.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4394, allocations: 334.8 kB / 0.6125 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.4396, allocations: 44.84 kB / 0.6125 GB, free: 14.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.4402, allocations: 347.2 kB / 0.6129 GB, free: 13.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.4408, allocations: 440.6 kB / 0.6133 GB, free: 13.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.4408, allocations: 4 kB / 0.6133 GB, free: 13.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005855/0.4414, allocations: 389.8 kB / 0.6137 GB, free: 12.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4414, allocations: 8 kB / 0.6137 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.4415, allocations: 15.94 kB / 0.6137 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.4415, allocations: 12 kB / 0.6137 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.4417, allocations: 99.78 kB / 0.6138 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.4418, allocations: 19.92 kB / 0.6138 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.442, allocations: 51.62 kB / 0.6139 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.442, allocations: 31.98 kB / 0.6139 GB, free: 12.66 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.0001426/0.4422, allocations: 149.6 kB / 0.614 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.4422, allocations: 27.98 kB / 0.6141 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.4425, allocations: 145 kB / 0.6142 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.4425, allocations: 3.984 kB / 0.6142 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.4425, allocations: 4 kB / 0.6142 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4426, allocations: 7.984 kB / 0.6142 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.443, allocations: 375.9 kB / 0.6146 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.443, allocations: 0 / 0.6146 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.4431, allocations: 12 kB / 0.6146 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4431, allocations: 0 / 0.6146 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4431, allocations: 3.984 kB / 0.6146 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4431, allocations: 4 kB / 0.6146 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4431, allocations: 0 / 0.6146 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.4433, allocations: 209.9 kB / 0.6148 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.4434, allocations: 31.97 kB / 0.6148 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.4434, allocations: 3.938 kB / 0.6148 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.4436, allocations: 8.062 kB / 0.6148 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.4436, allocations: 11.92 kB / 0.6149 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.4436, allocations: 8 kB / 0.6149 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.4437, allocations: 152.5 kB / 0.615 GB, free: 11.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4437, allocations: 0 / 0.615 GB, free: 11.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005373/0.4443, allocations: 99.88 kB / 0.6151 GB, free: 11.32 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.0007855/0.4451, allocations: 0.7927 MB / 0.6159 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.4454, allocations: 170.2 kB / 0.616 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4454, allocations: 0 / 0.616 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.4454, allocations: 20.12 kB / 0.6161 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.4458, allocations: 48.39 kB / 0.6161 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.4494, allocations: 2.816 MB / 0.6189 GB, free: 7.059 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.4495, allocations: 120.5 kB / 0.619 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.4497, allocations: 50.92 kB / 0.619 GB, free: 6.867 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.4498, allocations: 63.41 kB / 0.6191 GB, free: 6.805 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4498, allocations: 0 / 0.6191 GB, free: 6.805 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.4861, allocations: 5.895 MB / 0.6248 GB, free: 1.043 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.4, allocations: 4 kB / 0.6248 GB, free: 1.039 MB / 462.1 MB " [Timeout remaining time 648] (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: 14.458185425028205]