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.006796/0.006796, allocations: 106.6 kB / 21.98 MB, free: 5.223 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.001735/0.001735, allocations: 211.9 kB / 25.29 MB, free: 3.203 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.448/1.448, allocations: 230.5 MB / 258.9 MB, free: 8.191 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.2787/0.2787, allocations: 46.92 MB / 362.3 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 179] 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.002332/0.002332, allocations: 79.86 kB / 0.4982 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3022, allocations: 66.08 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01194/0.3142, allocations: 8.474 MB / 0.571 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.3271, allocations: 11.27 MB / 0.582 GB, free: 436 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.3271, allocations: 3.938 kB / 0.582 GB, free: 432 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.3274, allocations: 47.78 kB / 0.5821 GB, free: 384 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005124/0.3325, allocations: 1.858 MB / 0.5839 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.514e-06/0.3325, allocations: 4 kB / 0.5839 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3326, allocations: 55.59 kB / 0.5839 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.3327, allocations: 7.984 kB / 0.5839 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3328, allocations: 27.86 kB / 0.584 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.3328, allocations: 23.86 kB / 0.584 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.3328, allocations: 0 / 0.584 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.3429, allocations: 6.756 MB / 0.5906 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.3429, allocations: 0 / 0.5906 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.343, allocations: 23.81 kB / 0.5906 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.3548, allocations: 5.1 MB / 0.5956 GB, free: 2.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3548, allocations: 0 / 0.5956 GB, free: 2.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3548, allocations: 0 / 0.5956 GB, free: 2.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.3548, allocations: 0 / 0.5956 GB, free: 2.5 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.002727/0.3576, allocations: 0.5152 MB / 0.5961 GB, free: 1.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3576, allocations: 8.031 kB / 0.5961 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.3577, allocations: 8 kB / 0.5961 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3578, allocations: 109.2 kB / 0.5962 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3578, allocations: 4 kB / 0.5962 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.3578, allocations: 8 kB / 0.5962 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.358, allocations: 77.67 kB / 0.5963 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.358, allocations: 3.938 kB / 0.5963 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.358, allocations: 0 / 0.5963 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.358, allocations: 4 kB / 0.5963 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3581, allocations: 79.91 kB / 0.5964 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.3586, allocations: 291.8 kB / 0.5967 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.64e-05/0.3587, allocations: 42.56 kB / 0.5967 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.3587, allocations: 24.92 kB / 0.5967 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002792/0.3615, allocations: 0.8037 MB / 0.5975 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.3615, allocations: 42.59 kB / 0.5975 GB, free: 372 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3615, allocations: 0 / 0.5975 GB, free: 372 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002926/0.3618, allocations: 109.7 kB / 0.5976 GB, free: 256 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.3619, allocations: 51.41 kB / 0.5977 GB, free: 192 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.3619, allocations: 97.8 kB / 0.5978 GB, free: 84 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.362, allocations: 33.7 kB / 0.5978 GB, free: 44 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.362, allocations: 88.08 kB / 0.5979 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.3621, allocations: 27.75 kB / 0.5979 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.3621, allocations: 25.7 kB / 0.598 GB, free: 15.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3622, allocations: 319.1 kB / 0.5983 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.3623, allocations: 19.98 kB / 0.5983 GB, free: 15.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.3623, allocations: 41.66 kB / 0.5983 GB, free: 15.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.3624, allocations: 65.64 kB / 0.5984 GB, free: 15.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3624, allocations: 0 / 0.5984 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001703/0.3626, allocations: 97.77 kB / 0.5985 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3626, allocations: 4 kB / 0.5985 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3626, allocations: 8 kB / 0.5985 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3627, allocations: 0 / 0.5985 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.3627, allocations: 8 kB / 0.5985 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3627, allocations: 3.984 kB / 0.5985 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.3627, allocations: 3.938 kB / 0.5985 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3628, allocations: 8 kB / 0.5985 GB, free: 15.3 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 8.189e-05/0.3628, allocations: 113.8 kB / 0.5986 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.3629, allocations: 7.984 kB / 0.5986 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.3632, allocations: 157.6 kB / 0.5988 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001456/0.3633, allocations: 117.3 kB / 0.5989 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3633, allocations: 0 / 0.5989 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3633, allocations: 0 / 0.5989 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.3638, allocations: 409.3 kB / 0.5993 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3638, allocations: 4 kB / 0.5993 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.3639, allocations: 19.92 kB / 0.5993 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3639, allocations: 4.188 kB / 0.5993 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3639, allocations: 3.938 kB / 0.5993 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3639, allocations: 0 / 0.5993 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3639, allocations: 0 / 0.5993 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3641, allocations: 227.5 kB / 0.5995 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.3641, allocations: 11.88 kB / 0.5995 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3642, allocations: 7.922 kB / 0.5995 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.063e-05/0.3642, allocations: 4 kB / 0.5995 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.3642, allocations: 8 kB / 0.5996 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.3642, allocations: 7.984 kB / 0.5996 GB, free: 14.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.857e-05/0.3643, allocations: 79.56 kB / 0.5996 GB, free: 14.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3643, allocations: 0 / 0.5996 GB, free: 14.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0019/0.3662, allocations: 362.9 kB / 0.6 GB, free: 13.71 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.01347/0.3796, allocations: 4.08 MB / 0.604 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.3799, allocations: 109.6 kB / 0.6041 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3799, allocations: 0 / 0.6041 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.38, allocations: 47.98 kB / 0.6041 GB, free: 9.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.3804, allocations: 35.94 kB / 0.6042 GB, free: 9.414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.3809, allocations: 259.5 kB / 0.6044 GB, free: 9.125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.3813, allocations: 0.6924 MB / 0.6051 GB, free: 8.406 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.3813, allocations: 15.44 kB / 0.6051 GB, free: 8.391 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3813, allocations: 0 / 0.6051 GB, free: 8.391 MB / 446.1 MB Notification: Performance of Templates: time 0.02641/0.4077, allocations: 19.5 MB / 0.6241 GB, free: 4.855 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/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: 9.210026388987899]