Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001701/0.001701, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002112/0.002112, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.493/1.493, allocations: 230.4 MB / 254 MB, free: 15.18 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.3473/0.3473, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 179] 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.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 83.86 kB / 0.491 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1509, allocations: 66.05 MB / 0.5555 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01377/0.1646, allocations: 8.437 MB / 0.5637 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01592/0.1805, allocations: 13.04 MB / 0.5764 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.1806, allocations: 0 / 0.5764 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.1808, allocations: 43.78 kB / 0.5765 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007074/0.1879, allocations: 2.139 MB / 0.5786 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.821e-06/0.1879, allocations: 0 / 0.5786 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.188, allocations: 51.61 kB / 0.5786 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.1881, allocations: 4 kB / 0.5786 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1882, allocations: 35.84 kB / 0.5787 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.1882, allocations: 11.94 kB / 0.5787 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.1883, allocations: 4 kB / 0.5787 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/0.1993, allocations: 6.043 MB / 0.5846 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.1993, allocations: 19.8 kB / 0.5846 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.1994, allocations: 15.94 kB / 0.5846 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01386/0.2133, allocations: 4.791 MB / 0.5893 GB, free: 2.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2133, allocations: 0 / 0.5893 GB, free: 2.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2133, allocations: 4 kB / 0.5893 GB, free: 2.801 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.2133, allocations: 0 / 0.5893 GB, free: 2.801 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003632/0.2169, allocations: 0.6333 MB / 0.5899 GB, free: 2.117 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.217, allocations: 8.031 kB / 0.5899 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/0.217, allocations: 42.55 kB / 0.59 GB, free: 2.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.2171, allocations: 4 kB / 0.59 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2173, allocations: 163.1 kB / 0.5901 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.2173, allocations: 11.94 kB / 0.5901 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.2173, allocations: 8 kB / 0.5901 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.2177, allocations: 117.5 kB / 0.5902 GB, free: 1.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2177, allocations: 0 / 0.5902 GB, free: 1.715 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2177, allocations: 0 / 0.5902 GB, free: 1.715 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2177, allocations: 4 kB / 0.5902 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.2181, allocations: 119.9 kB / 0.5904 GB, free: 1.594 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.0006886/0.2188, allocations: 404 kB / 0.5907 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.2191, allocations: 74.47 kB / 0.5908 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.2192, allocations: 32.83 kB / 0.5908 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2733/0.4925, allocations: 2.131 MB / 0.5929 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.4925, allocations: 33.5 kB / 0.593 GB, free: 32.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.4925, allocations: 0 / 0.593 GB, free: 32.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007414/0.4933, allocations: 143.3 kB / 0.5931 GB, free: 32.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.4933, allocations: 58.02 kB / 0.5932 GB, free: 32.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.4934, allocations: 99.08 kB / 0.5932 GB, free: 32.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.4934, allocations: 27.3 kB / 0.5933 GB, free: 32.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.4935, allocations: 98.3 kB / 0.5934 GB, free: 31.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.4935, allocations: 22.47 kB / 0.5934 GB, free: 31.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.4935, allocations: 24.52 kB / 0.5934 GB, free: 31.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.4936, allocations: 317.7 kB / 0.5937 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.4937, allocations: 28.69 kB / 0.5937 GB, free: 31.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.4939, allocations: 39.67 kB / 0.5938 GB, free: 31.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.4941, allocations: 69.05 kB / 0.5938 GB, free: 31.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4941, allocations: 4.188 kB / 0.5938 GB, free: 31.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000298/0.4944, allocations: 102 kB / 0.5939 GB, free: 31.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.4944, allocations: 8.172 kB / 0.594 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4944, allocations: 0 / 0.594 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4944, allocations: 5.469 kB / 0.594 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.4945, allocations: 20.94 kB / 0.594 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4945, allocations: 1.109 kB / 0.594 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/0.4946, allocations: 13.98 kB / 0.594 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.4946, allocations: 7.562 kB / 0.594 GB, free: 31.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * 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 7.386e-05/0.4947, allocations: 115.4 kB / 0.5941 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.4947, allocations: 6.391 kB / 0.5941 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005278/0.4953, allocations: 257.9 kB / 0.5944 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.4953, allocations: 3.125 kB / 0.5944 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4953, allocations: 0 / 0.5944 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4953, allocations: 1.547 kB / 0.5944 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.4955, allocations: 228.4 kB / 0.5946 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4956, allocations: 1.547 kB / 0.5946 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4957, allocations: 18.67 kB / 0.5946 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.4957, allocations: 4.719 kB / 0.5946 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.4957, allocations: 5.719 kB / 0.5946 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4957, allocations: 0.5938 kB / 0.5946 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4957, allocations: 4.594 kB / 0.5946 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.4961, allocations: 261.4 kB / 0.5949 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.4962, allocations: 91.5 kB / 0.595 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.4962, allocations: 1.125 kB / 0.595 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.4963, allocations: 6.312 kB / 0.595 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.4963, allocations: 13.53 kB / 0.595 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4963, allocations: 3.219 kB / 0.595 GB, free: 30.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.871e-05/0.4964, allocations: 81.44 kB / 0.5951 GB, free: 30.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4964, allocations: 0 / 0.5951 GB, free: 30.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002584/0.4989, allocations: 379.6 kB / 0.5954 GB, free: 30.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01252/0.5115, allocations: 4.253 MB / 0.5996 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.5119, allocations: 88.09 kB / 0.5997 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5119, allocations: 0 / 0.5997 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.512, allocations: 62.41 kB / 0.5997 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.5124, allocations: 21.16 kB / 0.5997 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.514, allocations: 451.2 kB / 0.6002 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.5141, allocations: 0.6945 MB / 0.6008 GB, free: 27.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.5143, allocations: 47.81 kB / 0.6009 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.5143, allocations: 30.3 kB / 0.6009 GB, free: 27.72 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5143, allocations: 0 / 0.6009 GB, free: 27.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05017/0.5645, allocations: 18.1 MB / 0.6186 GB, free: 22.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.96/9.525, allocations: 2.672 kB / 0.6186 GB, free: 22.77 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv. Warning: Get data of variable rho from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.066074025002308]