Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.002067/0.002067, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002534/0.002534, allocations: 207.5 kB / 23.72 MB, free: 4.391 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.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2607/0.2607, allocations: 46.96 MB / 360.8 MB, free: 3.902 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.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 79.88 kB / 0.4961 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3319, allocations: 66.09 MB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01306/0.345, allocations: 8.047 MB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.3585, allocations: 9.887 MB / 0.5782 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.3586, allocations: 3.938 kB / 0.5782 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.3588, allocations: 39.77 kB / 0.5782 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005517/0.3644, allocations: 1.847 MB / 0.58 GB, free: 104 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.617e-06/0.3644, allocations: 4 kB / 0.5801 GB, free: 100 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.3645, allocations: 47.62 kB / 0.5801 GB, free: 52 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.3645, allocations: 7.922 kB / 0.5801 GB, free: 44 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.3647, allocations: 35.84 kB / 0.5801 GB, free: 8 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.3647, allocations: 15.98 kB / 0.5802 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.3647, allocations: 0 / 0.5802 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.3755, allocations: 6.592 MB / 0.5866 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.3755, allocations: 3.938 kB / 0.5866 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.3756, allocations: 15.94 kB / 0.5866 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.3902, allocations: 5.096 MB / 0.5916 GB, free: 4.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3902, allocations: 0 / 0.5916 GB, free: 4.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3902, allocations: 0 / 0.5916 GB, free: 4.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.3902, allocations: 0 / 0.5916 GB, free: 4.266 MB / 430.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.002629/0.3928, allocations: 0.5036 MB / 0.5921 GB, free: 3.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3929, allocations: 12.03 kB / 0.5921 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.3929, allocations: 34.56 kB / 0.5921 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.393, allocations: 7.984 kB / 0.5921 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3932, allocations: 109.2 kB / 0.5922 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3932, allocations: 7.938 kB / 0.5922 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.3932, allocations: 4 kB / 0.5922 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.3933, allocations: 81.61 kB / 0.5923 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3933, allocations: 0 / 0.5923 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3934, allocations: 4 kB / 0.5923 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.3934, allocations: 7.984 kB / 0.5923 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.3935, allocations: 79.95 kB / 0.5924 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.394, allocations: 291.8 kB / 0.5927 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.185e-05/0.3941, allocations: 42.5 kB / 0.5927 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.3941, allocations: 28.92 kB / 0.5928 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002969/0.3971, allocations: 0.7997 MB / 0.5935 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.3971, allocations: 38.56 kB / 0.5936 GB, free: 2.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.3971, allocations: 0 / 0.5936 GB, free: 2.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003238/0.3975, allocations: 114 kB / 0.5937 GB, free: 1.973 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3975, allocations: 51.41 kB / 0.5937 GB, free: 1.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3976, allocations: 101.8 kB / 0.5938 GB, free: 1.801 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3976, allocations: 25.7 kB / 0.5939 GB, free: 1.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.3977, allocations: 96.02 kB / 0.5939 GB, free: 1.672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.3977, allocations: 27.73 kB / 0.594 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.3978, allocations: 29.7 kB / 0.594 GB, free: 1.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3979, allocations: 322.8 kB / 0.5943 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.474e-05/0.398, allocations: 19.98 kB / 0.5943 GB, free: 1.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.616e-05/0.398, allocations: 29.83 kB / 0.5944 GB, free: 1.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3981, allocations: 73.58 kB / 0.5944 GB, free: 1.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3981, allocations: 0 / 0.5944 GB, free: 1.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.3983, allocations: 93.58 kB / 0.5945 GB, free: 1.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3983, allocations: 4 kB / 0.5945 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3984, allocations: 4 kB / 0.5945 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3984, allocations: 4.031 kB / 0.5945 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.3984, allocations: 8 kB / 0.5945 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3984, allocations: 3.984 kB / 0.5945 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.3985, allocations: 4 kB / 0.5945 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.3985, allocations: 4 kB / 0.5945 GB, free: 1.023 MB / 430.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 (6): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 0.0001011/0.3986, allocations: 117.7 kB / 0.5947 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.3986, allocations: 7.953 kB / 0.5947 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.3989, allocations: 145.8 kB / 0.5948 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000165/0.3991, allocations: 117.6 kB / 0.5949 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3991, allocations: 4.25 kB / 0.5949 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3991, allocations: 0 / 0.5949 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.3996, allocations: 412.3 kB / 0.5953 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3996, allocations: 0 / 0.5953 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.141e-05/0.3997, allocations: 19.98 kB / 0.5953 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3997, allocations: 3.938 kB / 0.5953 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3997, allocations: 0 / 0.5953 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3997, allocations: 3.984 kB / 0.5953 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3997, allocations: 192 / 0.5953 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.4, allocations: 227.4 kB / 0.5956 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.4, allocations: 11.95 kB / 0.5956 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.4, allocations: 7.938 kB / 0.5956 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.707e-05/0.4001, allocations: 4 kB / 0.5956 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.4001, allocations: 7.984 kB / 0.5956 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.4001, allocations: 4 kB / 0.5956 GB, free: 15.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.787e-05/0.4002, allocations: 87.38 kB / 0.5957 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4002, allocations: 0 / 0.5957 GB, free: 15.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00211/0.4023, allocations: 363 kB / 0.596 GB, free: 15.43 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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.01528/0.4176, allocations: 4.739 MB / 0.6006 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.4178, allocations: 105.6 kB / 0.6008 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4178, allocations: 0 / 0.6008 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.4179, allocations: 47.92 kB / 0.6008 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.4184, allocations: 44.39 kB / 0.6008 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.4204, allocations: 406.3 kB / 0.6012 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.725e-05/0.4205, allocations: 83.02 kB / 0.6013 GB, free: 9.914 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.027e-05/0.4205, allocations: 19.86 kB / 0.6013 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.4206, allocations: 27.44 kB / 0.6014 GB, free: 9.867 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4206, allocations: 4 kB / 0.6014 GB, free: 9.863 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05485/0.4755, allocations: 20.74 MB / 0.6216 GB, free: 5.195 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.96, allocations: 3 kB / 0.6216 GB, free: 5.195 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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_pTX_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable h in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable h from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable rho in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable rho from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable mu in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable mu from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable cp in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable cp from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! Error: Could not read variable k in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv. Warning: Get data of variable k from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.31009325105697]