Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00138/0.00138, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001405/0.001405, allocations: 205.5 kB / 25.12 MB, free: 3.59 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.439/1.439, allocations: 230.4 MB / 258.7 MB, free: 8.094 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2326/0.2326, allocations: 46.93 MB / 362 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 79.86 kB / 0.4978 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.324, allocations: 66.07 MB / 0.5623 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01168/0.3357, allocations: 8.428 MB / 0.5705 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.3483, allocations: 11.15 MB / 0.5814 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.3483, allocations: 8 kB / 0.5814 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.3485, allocations: 43.8 kB / 0.5815 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.3533, allocations: 1.863 MB / 0.5833 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.55e-06/0.3534, allocations: 3.938 kB / 0.5833 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3535, allocations: 51.61 kB / 0.5834 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.3535, allocations: 8 kB / 0.5834 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.3536, allocations: 27.84 kB / 0.5834 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.3537, allocations: 19.92 kB / 0.5834 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.3537, allocations: 4 kB / 0.5834 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/0.365, allocations: 6.686 MB / 0.5899 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.365, allocations: 3.984 kB / 0.5899 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/0.3651, allocations: 23.88 kB / 0.59 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01714/0.3823, allocations: 5.084 MB / 0.5949 GB, free: 2.801 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.3823, allocations: 3.984 kB / 0.5949 GB, free: 2.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3823, allocations: 4 kB / 0.5949 GB, free: 2.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.3823, allocations: 3.938 kB / 0.5949 GB, free: 2.789 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.003084/0.3854, allocations: 0.5036 MB / 0.5954 GB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3854, allocations: 12.03 kB / 0.5954 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.3855, allocations: 4 kB / 0.5954 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3857, allocations: 125.1 kB / 0.5956 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3857, allocations: 0 / 0.5956 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.3857, allocations: 4 kB / 0.5956 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.3859, allocations: 81.67 kB / 0.5957 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3859, allocations: 3.938 kB / 0.5957 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3859, allocations: 4 kB / 0.5957 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3859, allocations: 0 / 0.5957 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.386, allocations: 79.95 kB / 0.5957 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.3866, allocations: 291.8 kB / 0.596 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.981e-05/0.3866, allocations: 42.52 kB / 0.5961 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.3867, allocations: 28.84 kB / 0.5961 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002904/0.3896, allocations: 0.8076 MB / 0.5969 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3896, allocations: 34.56 kB / 0.5969 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.3896, allocations: 4 kB / 0.5969 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000403/0.39, allocations: 113.7 kB / 0.597 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3901, allocations: 51.41 kB / 0.5971 GB, free: 480 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.3902, allocations: 97.86 kB / 0.5972 GB, free: 372 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3902, allocations: 25.7 kB / 0.5972 GB, free: 340 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.3903, allocations: 84.09 kB / 0.5973 GB, free: 252 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.3903, allocations: 31.73 kB / 0.5973 GB, free: 220 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.3903, allocations: 25.7 kB / 0.5973 GB, free: 188 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3905, allocations: 322.8 kB / 0.5976 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.3906, allocations: 20 kB / 0.5976 GB, free: 15.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.3906, allocations: 33.7 kB / 0.5977 GB, free: 15.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3907, allocations: 65.64 kB / 0.5977 GB, free: 15.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3907, allocations: 4 kB / 0.5977 GB, free: 15.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001808/0.3909, allocations: 93.95 kB / 0.5978 GB, free: 15.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3909, allocations: 6.688 kB / 0.5978 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3909, allocations: 15.86 kB / 0.5979 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.391, allocations: 0 / 0.5979 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.391, allocations: 12 kB / 0.5979 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.391, allocations: 0 / 0.5979 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.3911, allocations: 11.92 kB / 0.5979 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.3911, allocations: 4 kB / 0.5979 GB, free: 15.58 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 (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.416e-05/0.3912, allocations: 117.7 kB / 0.598 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.3912, allocations: 7.953 kB / 0.598 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.3915, allocations: 145.7 kB / 0.5981 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000156/0.3916, allocations: 117.6 kB / 0.5983 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3916, allocations: 4 kB / 0.5983 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3916, allocations: 0 / 0.5983 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.3922, allocations: 413 kB / 0.5986 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3922, allocations: 4 kB / 0.5987 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.3922, allocations: 15.98 kB / 0.5987 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3922, allocations: 0 / 0.5987 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3922, allocations: 11.94 kB / 0.5987 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3922, allocations: 4 kB / 0.5987 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3922, allocations: 0 / 0.5987 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3925, allocations: 219.4 kB / 0.5989 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.3925, allocations: 11.94 kB / 0.5989 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.3925, allocations: 7.922 kB / 0.5989 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.3926, allocations: 0 / 0.5989 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.3926, allocations: 4 kB / 0.5989 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.3926, allocations: 12 kB / 0.5989 GB, free: 14.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.3927, allocations: 79.45 kB / 0.599 GB, free: 14.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3927, allocations: 0 / 0.599 GB, free: 14.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002291/0.395, allocations: 366.9 kB / 0.5994 GB, free: 13.99 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.01442/0.4094, allocations: 4.076 MB / 0.6033 GB, free: 9.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003381/0.4097, allocations: 113.8 kB / 0.6034 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4097, allocations: 4.062 kB / 0.6034 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.4098, allocations: 47.92 kB / 0.6035 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.4103, allocations: 44.06 kB / 0.6035 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.4108, allocations: 221.6 kB / 0.6037 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.4111, allocations: 0.6924 MB / 0.6044 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.4112, allocations: 19.86 kB / 0.6044 GB, free: 8.703 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.4112, allocations: 19.44 kB / 0.6045 GB, free: 8.684 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4112, allocations: 0 / 0.6045 GB, free: 8.684 MB / 446.1 MB Notification: Performance of Templates: time 0.02787/0.4391, allocations: 18.32 MB / 0.6223 GB, free: 6.332 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/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_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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: 6.465690546901897]