Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001776/0.001776, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.002222/0.002222, allocations: 210.8 kB / 23.72 MB, free: 4.531 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.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2339/0.2339, allocations: 46.96 MB / 360.8 MB, free: 3.961 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_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 87.86 kB / 0.4961 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.354, allocations: 66.08 MB / 0.5607 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01214/0.3662, allocations: 8.058 MB / 0.5685 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.3791, allocations: 9.894 MB / 0.5782 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.006e-05/0.3792, allocations: 0 / 0.5782 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.3794, allocations: 35.81 kB / 0.5782 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006143/0.3855, allocations: 1.859 MB / 0.5801 GB, free: 156 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.747e-06/0.3855, allocations: 0 / 0.5801 GB, free: 156 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.3857, allocations: 47.67 kB / 0.5801 GB, free: 108 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.3857, allocations: 7.938 kB / 0.5801 GB, free: 100 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.3859, allocations: 27.84 kB / 0.5801 GB, free: 72 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.3859, allocations: 31.86 kB / 0.5802 GB, free: 40 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.3859, allocations: 0 / 0.5802 GB, free: 40 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/0.3962, allocations: 6.686 MB / 0.5867 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.3963, allocations: 0 / 0.5867 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.3963, allocations: 19.94 kB / 0.5867 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.4085, allocations: 5.096 MB / 0.5917 GB, free: 4.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.4085, allocations: 4 kB / 0.5917 GB, free: 4.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4085, allocations: 0 / 0.5917 GB, free: 4.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.4085, allocations: 0 / 0.5917 GB, free: 4.215 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.00272/0.4112, allocations: 0.5075 MB / 0.5922 GB, free: 3.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4113, allocations: 8.031 kB / 0.5922 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.4113, allocations: 30.56 kB / 0.5922 GB, free: 3.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.4114, allocations: 15.98 kB / 0.5922 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.4115, allocations: 113.1 kB / 0.5923 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4115, allocations: 0 / 0.5923 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.4115, allocations: 4 kB / 0.5924 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.4117, allocations: 81.61 kB / 0.5924 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4117, allocations: 0 / 0.5924 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.4117, allocations: 0 / 0.5924 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.4117, allocations: 8 kB / 0.5924 GB, free: 3.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.4118, allocations: 79.84 kB / 0.5925 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.4123, allocations: 303.8 kB / 0.5928 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.782e-05/0.4124, allocations: 30.58 kB / 0.5928 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.4124, allocations: 28.91 kB / 0.5929 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003124/0.4156, allocations: 0.8076 MB / 0.5937 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.4156, allocations: 30.56 kB / 0.5937 GB, free: 2.043 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.4156, allocations: 0 / 0.5937 GB, free: 2.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003032/0.4159, allocations: 113.7 kB / 0.5938 GB, free: 1.926 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.4159, allocations: 55.41 kB / 0.5938 GB, free: 1.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.416, allocations: 101.8 kB / 0.5939 GB, free: 1.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.416, allocations: 25.7 kB / 0.594 GB, free: 1.719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.4161, allocations: 96.12 kB / 0.5941 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.4161, allocations: 31.67 kB / 0.5941 GB, free: 1.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.4162, allocations: 29.66 kB / 0.5941 GB, free: 1.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4163, allocations: 322.8 kB / 0.5944 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.144e-05/0.4164, allocations: 20 kB / 0.5944 GB, free: 1.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.784e-05/0.4164, allocations: 37.7 kB / 0.5945 GB, free: 1.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.491e-05/0.4165, allocations: 57.72 kB / 0.5945 GB, free: 1.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4165, allocations: 0 / 0.5945 GB, free: 1.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001817/0.4167, allocations: 101.6 kB / 0.5946 GB, free: 1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4167, allocations: 4 kB / 0.5946 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4167, allocations: 0 / 0.5946 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4167, allocations: 3.938 kB / 0.5946 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.4168, allocations: 12.03 kB / 0.5946 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4168, allocations: 4 kB / 0.5947 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.4168, allocations: 0 / 0.5947 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.4169, allocations: 4.375 kB / 0.5947 GB, free: 0.9727 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 9.371e-05/0.4169, allocations: 113.8 kB / 0.5948 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.417, allocations: 11.94 kB / 0.5948 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.4173, allocations: 149.8 kB / 0.5949 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001507/0.4174, allocations: 117.7 kB / 0.595 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4174, allocations: 4.062 kB / 0.595 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4174, allocations: 4 kB / 0.595 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.4179, allocations: 404.4 kB / 0.5954 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4179, allocations: 0 / 0.5954 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.418, allocations: 15.94 kB / 0.5954 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.418, allocations: 3.938 kB / 0.5954 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.418, allocations: 8 kB / 0.5954 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.418, allocations: 0 / 0.5954 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.418, allocations: 0 / 0.5954 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.4183, allocations: 227.4 kB / 0.5957 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.4183, allocations: 7.953 kB / 0.5957 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.4183, allocations: 11.94 kB / 0.5957 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.567e-05/0.4184, allocations: 0 / 0.5957 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.4184, allocations: 11.92 kB / 0.5957 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.4184, allocations: 4.281 kB / 0.5957 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.139e-05/0.4184, allocations: 79.28 kB / 0.5958 GB, free: 15.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4184, allocations: 0 / 0.5958 GB, free: 15.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002232/0.4207, allocations: 370.9 kB / 0.5961 GB, free: 15.38 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.01474/0.4354, allocations: 4.743 MB / 0.6008 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.4357, allocations: 105.7 kB / 0.6009 GB, free: 10.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4357, allocations: 4 kB / 0.6009 GB, free: 10.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.4358, allocations: 43.92 kB / 0.6009 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.4362, allocations: 35.94 kB / 0.6009 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.4381, allocations: 418.3 kB / 0.6013 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.053e-05/0.4382, allocations: 79.08 kB / 0.6014 GB, free: 9.859 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.4382, allocations: 16.16 kB / 0.6014 GB, free: 9.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.4383, allocations: 27.42 kB / 0.6015 GB, free: 9.816 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4383, allocations: 0 / 0.6015 GB, free: 9.816 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0563/0.4946, allocations: 20.81 MB / 0.6218 GB, free: 5.094 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.31, allocations: 3.859 kB / 0.6218 GB, free: 5.09 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.895611729007214]