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.001342/0.001342, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001432/0.001432, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.49/1.49, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2326/0.2326, allocations: 46.91 MB / 357.8 MB, free: 10.34 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.001909/0.001909, allocations: 59.91 kB / 0.492 GB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1213, allocations: 66 MB / 0.5565 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01255/0.1338, allocations: 8.439 MB / 0.5647 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01562/0.1494, allocations: 13.05 MB / 0.5775 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.1495, allocations: 0 / 0.5775 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.1497, allocations: 35.81 kB / 0.5775 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006216/0.1559, allocations: 2.145 MB / 0.5796 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.075e-06/0.1559, allocations: 0 / 0.5796 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.156, allocations: 55.66 kB / 0.5797 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1561, allocations: 4 kB / 0.5797 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1562, allocations: 27.86 kB / 0.5797 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.256e-05/0.1562, allocations: 23.91 kB / 0.5797 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.1563, allocations: 0 / 0.5797 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009884/0.1661, allocations: 6.047 MB / 0.5856 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.1662, allocations: 3.938 kB / 0.5856 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.1662, allocations: 19.94 kB / 0.5857 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.1772, allocations: 4.791 MB / 0.5903 GB, free: 2.613 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1772, allocations: 0 / 0.5903 GB, free: 2.613 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1773, allocations: 0 / 0.5903 GB, free: 2.613 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1773, allocations: 0 / 0.5903 GB, free: 2.613 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.003184/0.1804, allocations: 0.6411 MB / 0.591 GB, free: 1.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1805, allocations: 8.031 kB / 0.591 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.1806, allocations: 8 kB / 0.591 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.1808, allocations: 163.1 kB / 0.5911 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.1808, allocations: 15.94 kB / 0.5911 GB, free: 1.691 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.1808, allocations: 4 kB / 0.5911 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.1812, allocations: 117.5 kB / 0.5913 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1812, allocations: 3.938 kB / 0.5913 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1812, allocations: 7.984 kB / 0.5913 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1812, allocations: 0 / 0.5913 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.1816, allocations: 123.9 kB / 0.5914 GB, free: 1.434 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.0006237/0.1822, allocations: 404 kB / 0.5918 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.1825, allocations: 70.47 kB / 0.5918 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.1826, allocations: 36.83 kB / 0.5919 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2324/0.415, allocations: 2.119 MB / 0.5939 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.415, allocations: 40.58 kB / 0.594 GB, free: 32.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.378e-05/0.415, allocations: 0 / 0.594 GB, free: 32.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006947/0.4157, allocations: 143.3 kB / 0.5941 GB, free: 32.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.4158, allocations: 54.25 kB / 0.5942 GB, free: 32.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.4158, allocations: 99.84 kB / 0.5943 GB, free: 32.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.4158, allocations: 25.7 kB / 0.5943 GB, free: 32.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.4159, allocations: 99.53 kB / 0.5944 GB, free: 32.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.4159, allocations: 22.09 kB / 0.5944 GB, free: 32.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.4159, allocations: 26.95 kB / 0.5944 GB, free: 32.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.416, allocations: 319.2 kB / 0.5947 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.4161, allocations: 23.11 kB / 0.5948 GB, free: 31.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.4162, allocations: 42.06 kB / 0.5948 GB, free: 31.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.4164, allocations: 73.73 kB / 0.5949 GB, free: 31.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4164, allocations: 0 / 0.5949 GB, free: 31.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002758/0.4167, allocations: 103.1 kB / 0.595 GB, free: 31.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4167, allocations: 8.641 kB / 0.595 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4167, allocations: 0 / 0.595 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4167, allocations: 0 / 0.595 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4168, allocations: 21.48 kB / 0.595 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.4168, allocations: 4.344 kB / 0.595 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.4169, allocations: 12.56 kB / 0.595 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.4169, allocations: 3.641 kB / 0.595 GB, free: 31.89 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.855e-05/0.4169, allocations: 119.8 kB / 0.5951 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.417, allocations: 3.203 kB / 0.5951 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.4175, allocations: 252.7 kB / 0.5954 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.4175, allocations: 7.078 kB / 0.5954 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.4175, allocations: 0 / 0.5954 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4175, allocations: 1.141 kB / 0.5954 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.4177, allocations: 226.8 kB / 0.5956 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4177, allocations: 0.5625 kB / 0.5956 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.4178, allocations: 24.16 kB / 0.5956 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4178, allocations: 1.156 kB / 0.5956 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4178, allocations: 2.359 kB / 0.5956 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4178, allocations: 4.594 kB / 0.5956 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4178, allocations: 0 / 0.5956 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.4182, allocations: 261 kB / 0.5959 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.4182, allocations: 88.08 kB / 0.596 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.4182, allocations: 2.75 kB / 0.596 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.4183, allocations: 7.344 kB / 0.596 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.4183, allocations: 12.14 kB / 0.596 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.4183, allocations: 6.969 kB / 0.596 GB, free: 31.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.156e-05/0.4184, allocations: 82.75 kB / 0.5961 GB, free: 31.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4184, allocations: 0 / 0.5961 GB, free: 31.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002148/0.4205, allocations: 381.7 kB / 0.5964 GB, free: 31.21 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.01164/0.4322, allocations: 3.566 MB / 0.5999 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.4326, allocations: 90.66 kB / 0.6 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4326, allocations: 0.8125 kB / 0.6 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.4327, allocations: 65.45 kB / 0.6001 GB, free: 29.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.433, allocations: 25.64 kB / 0.6001 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.4335, allocations: 276.6 kB / 0.6004 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.4337, allocations: 0.6953 MB / 0.601 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.4337, allocations: 18.31 kB / 0.6011 GB, free: 28.68 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4337, allocations: 0 / 0.6011 GB, free: 28.68 MB / 446.1 MB Notification: Performance of Templates: time 0.02456/0.4583, allocations: 16.91 MB / 0.6176 GB, free: 25.36 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins1/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: 9.425971945980564]