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.001794/0.001794, allocations: 112.4 kB / 20.48 MB, free: 1.27 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.002186/0.002186, allocations: 211.1 kB / 23.77 MB, free: 4.449 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.406/1.406, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2154/0.2154, allocations: 46.95 MB / 360.8 MB, free: 3.867 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.002292/0.002292, allocations: 83.86 kB / 0.4962 GB, free: 7.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3186, allocations: 66.09 MB / 0.5607 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01165/0.3303, allocations: 8.051 MB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.3422, allocations: 9.887 MB / 0.5783 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.3422, allocations: 0 / 0.5783 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.3424, allocations: 35.81 kB / 0.5783 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005075/0.3475, allocations: 1.851 MB / 0.5801 GB, free: 76 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.545e-06/0.3475, allocations: 4 kB / 0.5801 GB, free: 72 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3476, allocations: 47.67 kB / 0.5802 GB, free: 24 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.3476, allocations: 7.938 kB / 0.5802 GB, free: 16 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.3478, allocations: 31.94 kB / 0.5802 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.3479, allocations: 23.77 kB / 0.5802 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.3479, allocations: 0 / 0.5802 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01041/0.3583, allocations: 6.588 MB / 0.5866 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.3583, allocations: 3.938 kB / 0.5866 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.3584, allocations: 19.92 kB / 0.5867 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.3729, allocations: 5.096 MB / 0.5916 GB, free: 4.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3729, allocations: 0 / 0.5916 GB, free: 4.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3729, allocations: 4 kB / 0.5916 GB, free: 4.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.3729, allocations: 0 / 0.5916 GB, free: 4.23 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.002951/0.3758, allocations: 0.5036 MB / 0.5921 GB, free: 3.695 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3759, allocations: 8.031 kB / 0.5921 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.3759, allocations: 34.56 kB / 0.5922 GB, free: 3.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.376, allocations: 11.98 kB / 0.5922 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3761, allocations: 105.2 kB / 0.5923 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3762, allocations: 4 kB / 0.5923 GB, free: 3.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.3762, allocations: 12 kB / 0.5923 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3763, allocations: 81.55 kB / 0.5924 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3763, allocations: 0 / 0.5924 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3763, allocations: 4 kB / 0.5924 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3764, allocations: 4 kB / 0.5924 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3765, allocations: 71.97 kB / 0.5925 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.377, allocations: 299.8 kB / 0.5927 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.3771, allocations: 30.58 kB / 0.5928 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.3771, allocations: 32.94 kB / 0.5928 GB, free: 2.914 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002784/0.3799, allocations: 0.8076 MB / 0.5936 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3799, allocations: 34.56 kB / 0.5936 GB, free: 2.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.153e-06/0.3799, allocations: 0 / 0.5936 GB, free: 2.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002721/0.3802, allocations: 109.6 kB / 0.5937 GB, free: 1.949 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.3802, allocations: 51.41 kB / 0.5938 GB, free: 1.887 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.3803, allocations: 105.8 kB / 0.5939 GB, free: 1.773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3803, allocations: 29.7 kB / 0.5939 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.3804, allocations: 88.03 kB / 0.594 GB, free: 1.648 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.3804, allocations: 35.72 kB / 0.594 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.3804, allocations: 21.72 kB / 0.5941 GB, free: 1.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3806, allocations: 318.8 kB / 0.5944 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.865e-05/0.3806, allocations: 20.39 kB / 0.5944 GB, free: 1.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.361e-05/0.3807, allocations: 45.58 kB / 0.5944 GB, free: 1.195 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.81e-05/0.3808, allocations: 65.66 kB / 0.5945 GB, free: 1.125 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3808, allocations: 0 / 0.5945 GB, free: 1.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001591/0.3809, allocations: 101.8 kB / 0.5946 GB, free: 1.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3809, allocations: 6.031 kB / 0.5946 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.3809, allocations: 4 kB / 0.5946 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.381, allocations: 0 / 0.5946 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.437e-05/0.381, allocations: 8 kB / 0.5946 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.381, allocations: 7.984 kB / 0.5946 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.488e-05/0.381, allocations: 0 / 0.5946 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.3811, allocations: 8 kB / 0.5946 GB, free: 0.9883 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 8.379e-05/0.3811, allocations: 113.8 kB / 0.5947 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.3812, allocations: 11.98 kB / 0.5947 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.3814, allocations: 153.7 kB / 0.5949 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001445/0.3816, allocations: 113.7 kB / 0.595 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3816, allocations: 0 / 0.595 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3816, allocations: 192 / 0.595 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.3821, allocations: 408.2 kB / 0.5954 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3821, allocations: 0 / 0.5954 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.3821, allocations: 16 kB / 0.5954 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3821, allocations: 7.922 kB / 0.5954 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3821, allocations: 4 kB / 0.5954 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3821, allocations: 7.984 kB / 0.5954 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3821, allocations: 0 / 0.5954 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.3824, allocations: 223.4 kB / 0.5956 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.3824, allocations: 7.953 kB / 0.5956 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3824, allocations: 7.938 kB / 0.5956 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-05/0.3825, allocations: 4 kB / 0.5956 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.3825, allocations: 7.984 kB / 0.5956 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.3825, allocations: 3.938 kB / 0.5957 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.115e-05/0.3825, allocations: 79.28 kB / 0.5957 GB, free: 15.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3825, allocations: 288 / 0.5957 GB, free: 15.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002206/0.3848, allocations: 362.9 kB / 0.5961 GB, free: 15.41 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.01392/0.3987, allocations: 4.751 MB / 0.6007 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.399, allocations: 101.6 kB / 0.6008 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.399, allocations: 4 kB / 0.6008 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.399, allocations: 39.98 kB / 0.6009 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.3995, allocations: 40.3 kB / 0.6009 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.4012, allocations: 418.1 kB / 0.6013 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.455e-05/0.4012, allocations: 79.08 kB / 0.6014 GB, free: 9.883 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.927e-05/0.4013, allocations: 19.92 kB / 0.6014 GB, free: 9.863 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.4014, allocations: 31.42 kB / 0.6014 GB, free: 9.832 MB / 446.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4014, allocations: 3.938 kB / 0.6014 GB, free: 9.828 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/0.4536, allocations: 20.83 MB / 0.6218 GB, free: 5.082 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.55, allocations: 4.062 kB / 0.6218 GB, free: 5.078 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: 15.767200787988259]