Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 213.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.604/1.604, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 46.93 MB / 360.8 MB, free: 4.266 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 63.91 kB / 0.4966 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3451, allocations: 66.05 MB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01392/0.3591, allocations: 8.479 MB / 0.5694 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01439/0.3734, allocations: 11.27 MB / 0.5804 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.3735, allocations: 0 / 0.5804 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.3738, allocations: 39.8 kB / 0.5804 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005988/0.3798, allocations: 1.858 MB / 0.5823 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.31e-06/0.3798, allocations: 0 / 0.5823 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.3799, allocations: 63.55 kB / 0.5823 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.38, allocations: 0 / 0.5823 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.3801, allocations: 31.84 kB / 0.5824 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.3802, allocations: 19.92 kB / 0.5824 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.3802, allocations: 0 / 0.5824 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/0.3912, allocations: 6.748 MB / 0.589 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.3913, allocations: 4 kB / 0.589 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.921e-05/0.3913, allocations: 23.86 kB / 0.589 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.4029, allocations: 5.1 MB / 0.594 GB, free: 2.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4029, allocations: 0 / 0.594 GB, free: 2.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4029, allocations: 0 / 0.594 GB, free: 2.668 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.4029, allocations: 0 / 0.594 GB, free: 2.668 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.002661/0.4056, allocations: 0.5074 MB / 0.5945 GB, free: 2.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4056, allocations: 8.031 kB / 0.5945 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.4057, allocations: 15.98 kB / 0.5945 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.4058, allocations: 109.1 kB / 0.5946 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4058, allocations: 4 kB / 0.5946 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.4058, allocations: 0 / 0.5946 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.406, allocations: 85.67 kB / 0.5947 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.406, allocations: 7.938 kB / 0.5947 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.406, allocations: 7.922 kB / 0.5947 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.406, allocations: 4 kB / 0.5947 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.4062, allocations: 71.97 kB / 0.5948 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.4066, allocations: 307.7 kB / 0.5951 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.4067, allocations: 34.56 kB / 0.5951 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.4067, allocations: 28.92 kB / 0.5951 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002981/0.4097, allocations: 0.7998 MB / 0.5959 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.4097, allocations: 34.56 kB / 0.5959 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.4097, allocations: 4 kB / 0.5959 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002907/0.41, allocations: 109.7 kB / 0.596 GB, free: 420 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.4101, allocations: 55.41 kB / 0.5961 GB, free: 352 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/0.4102, allocations: 97.86 kB / 0.5962 GB, free: 244 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4102, allocations: 25.7 kB / 0.5962 GB, free: 212 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.4102, allocations: 88.08 kB / 0.5963 GB, free: 120 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.4103, allocations: 31.73 kB / 0.5963 GB, free: 88 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.4103, allocations: 29.7 kB / 0.5964 GB, free: 52 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4105, allocations: 318.8 kB / 0.5967 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.506e-05/0.4105, allocations: 27.92 kB / 0.5967 GB, free: 15.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.4106, allocations: 29.72 kB / 0.5967 GB, free: 15.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.4107, allocations: 62.08 kB / 0.5968 GB, free: 15.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4107, allocations: 0 / 0.5968 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.4109, allocations: 105.5 kB / 0.5969 GB, free: 15.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4109, allocations: 8 kB / 0.5969 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4109, allocations: 0 / 0.5969 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4109, allocations: 3.938 kB / 0.5969 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.411, allocations: 15.92 kB / 0.5969 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.411, allocations: 0 / 0.5969 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.411, allocations: 7.938 kB / 0.5969 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.411, allocations: 0 / 0.5969 GB, free: 15.46 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 0.0001411/0.4112, allocations: 117.8 kB / 0.597 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.4112, allocations: 11.98 kB / 0.597 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.4115, allocations: 149 kB / 0.5972 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001654/0.4116, allocations: 117.7 kB / 0.5973 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4116, allocations: 0 / 0.5973 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4117, allocations: 0 / 0.5973 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005246/0.4122, allocations: 405.4 kB / 0.5977 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4122, allocations: 0 / 0.5977 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.4122, allocations: 19.92 kB / 0.5977 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4122, allocations: 4 kB / 0.5977 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4123, allocations: 7.938 kB / 0.5977 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.4123, allocations: 4 kB / 0.5977 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4123, allocations: 0 / 0.5977 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.4126, allocations: 219.7 kB / 0.5979 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.4126, allocations: 11.92 kB / 0.5979 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.4126, allocations: 7.938 kB / 0.5979 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.578e-05/0.4127, allocations: 0 / 0.5979 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.4127, allocations: 19.92 kB / 0.598 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.4127, allocations: 4 kB / 0.598 GB, free: 14.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.355e-05/0.4127, allocations: 79.45 kB / 0.598 GB, free: 14.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4127, allocations: 0 / 0.598 GB, free: 14.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002145/0.4149, allocations: 366.9 kB / 0.5984 GB, free: 13.86 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.01394/0.4288, allocations: 4.081 MB / 0.6024 GB, free: 9.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003636/0.4292, allocations: 109.7 kB / 0.6025 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4292, allocations: 3.938 kB / 0.6025 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.4293, allocations: 39.98 kB / 0.6025 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.4297, allocations: 44.06 kB / 0.6026 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.4303, allocations: 225.6 kB / 0.6028 GB, free: 9.316 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.4307, allocations: 0.6924 MB / 0.6034 GB, free: 8.598 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.4308, allocations: 15.88 kB / 0.6035 GB, free: 8.582 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.4308, allocations: 19.44 kB / 0.6035 GB, free: 8.562 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4308, allocations: 0 / 0.6035 GB, free: 8.562 MB / 446.1 MB Notification: Performance of Templates: time 0.03032/0.4611, allocations: 18.36 MB / 0.6214 GB, free: 6.176 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.988350570900366]