Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001885/0.001885, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002185/0.002185, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.5/1.5, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.2347/0.2347, allocations: 46.94 MB / 361.5 MB, free: 3.914 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: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 75.88 kB / 0.4974 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3158, allocations: 66.09 MB / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01217/0.328, allocations: 8.053 MB / 0.5698 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.3406, allocations: 9.893 MB / 0.5794 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.3406, allocations: 4 kB / 0.5794 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.3408, allocations: 35.81 kB / 0.5795 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005166/0.346, allocations: 1.844 MB / 0.5813 GB, free: 60 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.163e-06/0.346, allocations: 0 / 0.5813 GB, free: 60 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3461, allocations: 55.66 kB / 0.5813 GB, free: 4 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.3461, allocations: 0 / 0.5813 GB, free: 4 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.3463, allocations: 35.8 kB / 0.5814 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.3463, allocations: 15.92 kB / 0.5814 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.3463, allocations: 0 / 0.5814 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01123/0.3576, allocations: 6.588 MB / 0.5878 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.3576, allocations: 7.938 kB / 0.5878 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.3576, allocations: 15.92 kB / 0.5878 GB, free: 9.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.373, allocations: 5.092 MB / 0.5928 GB, free: 4.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.373, allocations: 0 / 0.5928 GB, free: 4.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.373, allocations: 3.938 kB / 0.5928 GB, free: 4.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.373, allocations: 4 kB / 0.5928 GB, free: 4.223 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.002609/0.3756, allocations: 0.4997 MB / 0.5933 GB, free: 3.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3756, allocations: 8.031 kB / 0.5933 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.3757, allocations: 15.98 kB / 0.5933 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3758, allocations: 105.2 kB / 0.5934 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3759, allocations: 4 kB / 0.5934 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.3759, allocations: 4 kB / 0.5934 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.376, allocations: 81.61 kB / 0.5935 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.376, allocations: 3.938 kB / 0.5935 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.376, allocations: 0 / 0.5935 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.3761, allocations: 7.938 kB / 0.5935 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3762, allocations: 83.95 kB / 0.5936 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.3766, allocations: 268.4 kB / 0.5938 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.917e-05/0.3767, allocations: 46.45 kB / 0.5939 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.3767, allocations: 25.02 kB / 0.5939 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002869/0.3796, allocations: 0.8153 MB / 0.5947 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3796, allocations: 34.56 kB / 0.5947 GB, free: 2.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.3796, allocations: 0 / 0.5947 GB, free: 2.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002797/0.3799, allocations: 109.7 kB / 0.5948 GB, free: 2.004 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.3799, allocations: 51.41 kB / 0.5949 GB, free: 1.941 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.38, allocations: 101.8 kB / 0.595 GB, free: 1.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.38, allocations: 25.7 kB / 0.595 GB, free: 1.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.3801, allocations: 88.03 kB / 0.5951 GB, free: 1.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.3801, allocations: 31.73 kB / 0.5951 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.3802, allocations: 25.72 kB / 0.5952 GB, free: 1.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3803, allocations: 322.8 kB / 0.5955 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.3804, allocations: 20 kB / 0.5955 GB, free: 1.305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.494e-05/0.3804, allocations: 33.7 kB / 0.5955 GB, free: 1.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.3805, allocations: 65.66 kB / 0.5956 GB, free: 1.195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3805, allocations: 384 / 0.5956 GB, free: 1.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.3807, allocations: 105.5 kB / 0.5957 GB, free: 1.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3807, allocations: 10.12 kB / 0.5957 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3807, allocations: 0 / 0.5957 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3807, allocations: 8.031 kB / 0.5957 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.3808, allocations: 8 kB / 0.5957 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3808, allocations: 0 / 0.5957 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.3808, allocations: 0 / 0.5957 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3808, allocations: 4 kB / 0.5957 GB, free: 1.059 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.881e-05/0.3809, allocations: 121.7 kB / 0.5958 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.381, allocations: 7.938 kB / 0.5958 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.3813, allocations: 149.6 kB / 0.596 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001574/0.3814, allocations: 117.7 kB / 0.5961 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3814, allocations: 7.938 kB / 0.5961 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3814, allocations: 0 / 0.5961 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.3819, allocations: 377.3 kB / 0.5965 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3819, allocations: 0 / 0.5965 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.382, allocations: 15.98 kB / 0.5965 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.382, allocations: 0 / 0.5965 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.382, allocations: 4 kB / 0.5965 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.382, allocations: 4 kB / 0.5965 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.382, allocations: 3.938 kB / 0.5965 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.3822, allocations: 219.5 kB / 0.5967 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.3823, allocations: 19.89 kB / 0.5967 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3823, allocations: 4.188 kB / 0.5967 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.3823, allocations: 0 / 0.5967 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.3824, allocations: 15.94 kB / 0.5967 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3824, allocations: 7.984 kB / 0.5967 GB, free: 15.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.3824, allocations: 79.28 kB / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3824, allocations: 0 / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00189/0.3843, allocations: 362.9 kB / 0.5972 GB, free: 15.5 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.01367/0.398, allocations: 4.077 MB / 0.6011 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.3983, allocations: 113.5 kB / 0.6012 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3983, allocations: 0 / 0.6012 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.609e-05/0.3984, allocations: 51.92 kB / 0.6013 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.3988, allocations: 39.94 kB / 0.6013 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.3993, allocations: 255.3 kB / 0.6016 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.907e-05/0.3994, allocations: 79.08 kB / 0.6017 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.3994, allocations: 15.44 kB / 0.6017 GB, free: 10.8 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3994, allocations: 0 / 0.6017 GB, free: 10.8 MB / 446.1 MB Notification: Performance of Templates: time 0.02675/0.4262, allocations: 19.51 MB / 0.6207 GB, free: 7.258 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.210636361967772]