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.001617/0.001617, allocations: 110 kB / 21.18 MB, free: 0.7617 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.001962/0.001962, allocations: 218.4 kB / 24.48 MB, free: 4.051 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.405/1.405, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2171/0.2171, allocations: 46.9 MB / 361.1 MB, free: 4.621 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.002296/0.002296, allocations: 79.88 kB / 0.4967 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3074, allocations: 65.99 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01183/0.3192, allocations: 8.475 MB / 0.5695 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.3321, allocations: 11.23 MB / 0.5804 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.3321, allocations: 0 / 0.5804 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.3323, allocations: 47.78 kB / 0.5805 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.3368, allocations: 1.823 MB / 0.5823 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.75e-06/0.3369, allocations: 0 / 0.5823 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.337, allocations: 59.55 kB / 0.5823 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.337, allocations: 4 kB / 0.5823 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3371, allocations: 31.84 kB / 0.5823 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.3372, allocations: 23.86 kB / 0.5824 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.3372, allocations: 0 / 0.5824 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009771/0.347, allocations: 6.686 MB / 0.5889 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.347, allocations: 3.938 kB / 0.5889 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.347, allocations: 27.86 kB / 0.5889 GB, free: 8.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009641/0.3567, allocations: 4.635 MB / 0.5935 GB, free: 3.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3567, allocations: 0 / 0.5935 GB, free: 3.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3567, allocations: 3.938 kB / 0.5935 GB, free: 3.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3567, allocations: 0 / 0.5935 GB, free: 3.855 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.002489/0.3592, allocations: 0.575 MB / 0.594 GB, free: 3.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.3592, allocations: 12.03 kB / 0.594 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.3593, allocations: 4 kB / 0.594 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3595, allocations: 174.9 kB / 0.5942 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3595, allocations: 8 kB / 0.5942 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.3595, allocations: 4 kB / 0.5942 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3596, allocations: 77.61 kB / 0.5943 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.3596, allocations: 3.938 kB / 0.5943 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3597, allocations: 7.984 kB / 0.5943 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3597, allocations: 0 / 0.5943 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.3598, allocations: 79.91 kB / 0.5944 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.3602, allocations: 312.8 kB / 0.5947 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.3603, allocations: 42.56 kB / 0.5947 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.3603, allocations: 24.92 kB / 0.5947 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003387/0.3637, allocations: 1.85 MB / 0.5965 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.3638, allocations: 42.58 kB / 0.5966 GB, free: 232 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.3638, allocations: 0 / 0.5966 GB, free: 232 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002881/0.3641, allocations: 101.7 kB / 0.5967 GB, free: 124 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.3641, allocations: 55.34 kB / 0.5967 GB, free: 56 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.3642, allocations: 101.8 kB / 0.5968 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3642, allocations: 25.7 kB / 0.5969 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.3643, allocations: 88.31 kB / 0.5969 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.3643, allocations: 35.73 kB / 0.597 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.3644, allocations: 21.72 kB / 0.597 GB, free: 15.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3645, allocations: 322.7 kB / 0.5973 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.3645, allocations: 23.98 kB / 0.5973 GB, free: 15.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.767e-05/0.3646, allocations: 33.7 kB / 0.5974 GB, free: 15.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.551e-05/0.3647, allocations: 65.66 kB / 0.5974 GB, free: 15.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3647, allocations: 4 kB / 0.5974 GB, free: 15.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000163/0.3649, allocations: 93.58 kB / 0.5975 GB, free: 15.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3649, allocations: 7.984 kB / 0.5975 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3649, allocations: 0 / 0.5975 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3649, allocations: 0 / 0.5975 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.289e-05/0.3649, allocations: 8 kB / 0.5975 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3649, allocations: 4 kB / 0.5975 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.681e-05/0.365, allocations: 4.188 kB / 0.5975 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.365, allocations: 4 kB / 0.5975 GB, free: 15.18 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.213e-05/0.3651, allocations: 113.8 kB / 0.5976 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.3651, allocations: 15.95 kB / 0.5977 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.3654, allocations: 157.3 kB / 0.5978 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3654, allocations: 0 / 0.5978 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3654, allocations: 0 / 0.5978 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.3654, allocations: 89 kB / 0.5979 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3655, allocations: 3.938 kB / 0.5979 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.3655, allocations: 3.938 kB / 0.5979 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.3655, allocations: 4 kB / 0.5979 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002194/0.3657, allocations: 208.9 kB / 0.5981 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000276/0.366, allocations: 306.7 kB / 0.5984 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.93e-05/0.3661, allocations: 39.98 kB / 0.5984 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.022e-05/0.3661, allocations: 83.47 kB / 0.5985 GB, free: 14.11 MB / 446.1 MB Notification: Performance of Backend: time 4.51e-07/0.3661, allocations: 0 / 0.5985 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01721/0.3833, allocations: 5.013 MB / 0.6034 GB, free: 9.078 MB / 446.1 MB Notification: Performance of SimCode: time 0.0006999/0.384, allocations: 0.6873 MB / 0.6041 GB, free: 8.336 MB / 446.1 MB Notification: Performance of Templates: time 0.02791/0.412, allocations: 18.78 MB / 0.6224 GB, free: 5.504 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 -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_2/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_2/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.256852661259472]