Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001654/0.001654, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.00179/0.00179, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.552/1.552, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2479/0.2479, allocations: 46.93 MB / 357.1 MB, free: 10.29 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_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 68.12 kB / 0.4914 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1216, allocations: 66 MB / 0.5558 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01205/0.1336, allocations: 8.445 MB / 0.5641 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01554/0.1492, allocations: 13.04 MB / 0.5768 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.1492, allocations: 0 / 0.5768 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.1495, allocations: 47.78 kB / 0.5769 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005949/0.1554, allocations: 2.152 MB / 0.579 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.819e-06/0.1554, allocations: 0 / 0.579 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.1555, allocations: 51.67 kB / 0.579 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.1556, allocations: 4 kB / 0.579 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1557, allocations: 27.86 kB / 0.5791 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.999e-05/0.1558, allocations: 19.92 kB / 0.5791 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1558, allocations: 0 / 0.5791 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0099/0.1657, allocations: 6.047 MB / 0.585 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.1657, allocations: 7.938 kB / 0.585 GB, free: 7.371 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.1657, allocations: 11.94 kB / 0.585 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.176, allocations: 4.791 MB / 0.5897 GB, free: 2.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.176, allocations: 4 kB / 0.5897 GB, free: 2.559 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.176, allocations: 0 / 0.5897 GB, free: 2.559 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.176, allocations: 0 / 0.5897 GB, free: 2.559 MB / 446.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.003008/0.1791, allocations: 0.6372 MB / 0.5903 GB, free: 1.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1791, allocations: 12.03 kB / 0.5903 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.1792, allocations: 7.984 kB / 0.5903 GB, free: 1.852 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1794, allocations: 159.1 kB / 0.5905 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.1794, allocations: 7.938 kB / 0.5905 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1794, allocations: 12 kB / 0.5905 GB, free: 1.637 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.1798, allocations: 109.6 kB / 0.5906 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1798, allocations: 3.938 kB / 0.5906 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1798, allocations: 4 kB / 0.5906 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1798, allocations: 3.984 kB / 0.5906 GB, free: 1.512 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.1801, allocations: 123.8 kB / 0.5907 GB, free: 1.391 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.1808, allocations: 412 kB / 0.5911 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.1811, allocations: 70.53 kB / 0.5912 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.1812, allocations: 28.84 kB / 0.5912 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.236/0.4172, allocations: 2.125 MB / 0.5933 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.4172, allocations: 39.52 kB / 0.5933 GB, free: 32.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 2.395e-06/0.4173, allocations: 1.344 kB / 0.5933 GB, free: 32.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007001/0.418, allocations: 142.3 kB / 0.5935 GB, free: 32.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.418, allocations: 53.86 kB / 0.5935 GB, free: 32.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.406e-05/0.418, allocations: 97.89 kB / 0.5936 GB, free: 32.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.418, allocations: 26.83 kB / 0.5936 GB, free: 32.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.4181, allocations: 98.92 kB / 0.5937 GB, free: 32.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.4181, allocations: 25.56 kB / 0.5937 GB, free: 32.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.4181, allocations: 24.41 kB / 0.5938 GB, free: 32.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.853e-05/0.4182, allocations: 317 kB / 0.5941 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.4183, allocations: 29.78 kB / 0.5941 GB, free: 31.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.4184, allocations: 40.58 kB / 0.5941 GB, free: 31.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.4186, allocations: 68.97 kB / 0.5942 GB, free: 31.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4186, allocations: 0.6562 kB / 0.5942 GB, free: 31.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002933/0.4189, allocations: 99.39 kB / 0.5943 GB, free: 31.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4189, allocations: 9.562 kB / 0.5943 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4189, allocations: 1.391 kB / 0.5943 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.4189, allocations: 0.6875 kB / 0.5943 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.419, allocations: 24.02 kB / 0.5943 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.419, allocations: 1.953 kB / 0.5943 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.4191, allocations: 8.047 kB / 0.5943 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.4191, allocations: 4.203 kB / 0.5944 GB, free: 31.84 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.708e-05/0.4192, allocations: 127.1 kB / 0.5945 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.4192, allocations: 2.297 kB / 0.5945 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.4197, allocations: 254.9 kB / 0.5947 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.4197, allocations: 3.5 kB / 0.5947 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4197, allocations: 0 / 0.5947 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4197, allocations: 1.031 kB / 0.5947 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.4199, allocations: 229.8 kB / 0.5949 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4199, allocations: 0 / 0.5949 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.42, allocations: 23.94 kB / 0.595 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.42, allocations: 1.5 kB / 0.595 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4201, allocations: 3.891 kB / 0.595 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4201, allocations: 0.7812 kB / 0.595 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4201, allocations: 1.203 kB / 0.595 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.4204, allocations: 261.1 kB / 0.5952 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.4204, allocations: 93.62 kB / 0.5953 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.4205, allocations: 5.641 kB / 0.5953 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.4205, allocations: 4.062 kB / 0.5953 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.4206, allocations: 13.53 kB / 0.5953 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.4206, allocations: 4.875 kB / 0.5953 GB, free: 31.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.227e-05/0.4206, allocations: 81.86 kB / 0.5954 GB, free: 31.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4206, allocations: 0.9688 kB / 0.5954 GB, free: 31.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002158/0.4228, allocations: 371.1 kB / 0.5958 GB, free: 31.16 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: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.01143/0.4342, allocations: 3.569 MB / 0.5993 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.4346, allocations: 93.09 kB / 0.5993 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4346, allocations: 2.141 kB / 0.5993 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.4347, allocations: 60.36 kB / 0.5994 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.4351, allocations: 23.64 kB / 0.5994 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.4356, allocations: 257.3 kB / 0.5997 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.4357, allocations: 0.6947 MB / 0.6003 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.4358, allocations: 51.14 kB / 0.6004 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.4358, allocations: 16.94 kB / 0.6004 GB, free: 28.64 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4358, allocations: 0.7812 kB / 0.6004 GB, free: 28.64 MB / 446.1 MB Notification: Performance of Templates: time 0.02335/0.4592, allocations: 16.33 MB / 0.6164 GB, free: 24.58 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.812598560005426]