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_phX.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.001706/0.001706, allocations: 123.9 kB / 18.45 MB, free: 4.594 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.002285/0.002285, allocations: 201.8 kB / 21.4 MB, free: 1.648 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.694/1.694, allocations: 227.5 MB / 251.7 MB, free: 32 kB / 190.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.2483/0.2483, allocations: 46.15 MB / 351.1 MB, free: 14.26 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-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_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX") [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.002472/0.002472, allocations: 77.33 kB / 490.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1271, allocations: 62.46 MB / 0.5397 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01374/0.1409, allocations: 8.404 MB / 0.5479 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01647/0.1574, allocations: 13 MB / 0.5606 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.1575, allocations: 0 / 0.5606 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.1578, allocations: 35.8 kB / 0.5606 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00749/0.1653, allocations: 2.115 MB / 0.5627 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.052e-05/0.1653, allocations: 0 / 0.5627 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1655, allocations: 51.61 kB / 0.5627 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.1655, allocations: 7.984 kB / 0.5627 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1657, allocations: 27.86 kB / 0.5628 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.1657, allocations: 15.92 kB / 0.5628 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1657, allocations: 4 kB / 0.5628 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/0.1771, allocations: 6.02 MB / 0.5687 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.1772, allocations: 0 / 0.5687 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.1772, allocations: 15.88 kB / 0.5687 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.1915, allocations: 4.795 MB / 0.5734 GB, free: 1.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1915, allocations: 0 / 0.5734 GB, free: 1.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1915, allocations: 0 / 0.5734 GB, free: 1.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1915, allocations: 4 kB / 0.5734 GB, free: 1.742 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.003068/0.1946, allocations: 0.6294 MB / 0.574 GB, free: 1.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1947, allocations: 12.03 kB / 0.574 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.1948, allocations: 19.98 kB / 0.574 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.195, allocations: 167 kB / 0.5742 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.195, allocations: 4 kB / 0.5742 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1951, allocations: 8 kB / 0.5742 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.1954, allocations: 105.6 kB / 0.5743 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.1954, allocations: 7.922 kB / 0.5743 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1955, allocations: 7.938 kB / 0.5743 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1955, allocations: 4 kB / 0.5743 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.1958, allocations: 119.9 kB / 0.5744 GB, free: 0.5703 MB / 430.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.0006998/0.1965, allocations: 408 kB / 0.5748 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.1968, allocations: 74.52 kB / 0.5749 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.197, allocations: 40.89 kB / 0.5749 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003948/0.2009, allocations: 2.131 MB / 0.577 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.201, allocations: 34.56 kB / 0.577 GB, free: 13.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.201, allocations: 0 / 0.577 GB, free: 13.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007266/0.2018, allocations: 149.5 kB / 0.5772 GB, free: 13.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.2018, allocations: 51.41 kB / 0.5772 GB, free: 13.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2019, allocations: 101.9 kB / 0.5773 GB, free: 13.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.202, allocations: 25.7 kB / 0.5773 GB, free: 13.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.202, allocations: 96.03 kB / 0.5774 GB, free: 13.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.2021, allocations: 23.8 kB / 0.5775 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.2021, allocations: 29.7 kB / 0.5775 GB, free: 12.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2023, allocations: 318.7 kB / 0.5778 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.2024, allocations: 27.98 kB / 0.5778 GB, free: 12.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.2026, allocations: 49.98 kB / 0.5779 GB, free: 12.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.2028, allocations: 65.62 kB / 0.5779 GB, free: 12.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2028, allocations: 0 / 0.5779 GB, free: 12.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003073/0.2031, allocations: 105.6 kB / 0.578 GB, free: 12.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2031, allocations: 8 kB / 0.578 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2031, allocations: 0 / 0.578 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2032, allocations: 0 / 0.578 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.2033, allocations: 19.92 kB / 0.5781 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2033, allocations: 4 kB / 0.5781 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.2034, allocations: 7.953 kB / 0.5781 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2034, allocations: 4 kB / 0.5781 GB, free: 12.36 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 0.0001254/0.2035, allocations: 121.8 kB / 0.5782 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.2036, allocations: 3.984 kB / 0.5782 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/0.2041, allocations: 245.3 kB / 0.5784 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.2041, allocations: 11.94 kB / 0.5784 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2041, allocations: 3.938 kB / 0.5784 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2042, allocations: 4 kB / 0.5784 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.2045, allocations: 225.5 kB / 0.5787 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2045, allocations: 0 / 0.5787 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.984e-05/0.2046, allocations: 19.98 kB / 0.5787 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2046, allocations: 0 / 0.5787 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.2046, allocations: 8 kB / 0.5787 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2046, allocations: 0 / 0.5787 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.2046, allocations: 4 kB / 0.5787 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.205, allocations: 255.3 kB / 0.5789 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.2051, allocations: 92.94 kB / 0.579 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.2051, allocations: 4.188 kB / 0.579 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.2052, allocations: 3.984 kB / 0.579 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.2053, allocations: 19.97 kB / 0.5791 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.2053, allocations: 0 / 0.5791 GB, free: 11.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.36e-05/0.2054, allocations: 79.28 kB / 0.5791 GB, free: 11.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2054, allocations: 4 kB / 0.5791 GB, free: 11.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002126/0.2075, allocations: 382.9 kB / 0.5795 GB, free: 10.8 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.01298/0.2205, allocations: 3.55 MB / 0.583 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.221, allocations: 107.8 kB / 0.5831 GB, free: 7.129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.221, allocations: 0 / 0.5831 GB, free: 7.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.2212, allocations: 71.91 kB / 0.5831 GB, free: 7.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2216, allocations: 21.25 kB / 0.5832 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.2222, allocations: 253.5 kB / 0.5834 GB, free: 6.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.2225, allocations: 0.6924 MB / 0.5841 GB, free: 6.051 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.2226, allocations: 47.67 kB / 0.5841 GB, free: 6.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.2227, allocations: 19.44 kB / 0.5841 GB, free: 5.984 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2227, allocations: 3.938 kB / 0.5841 GB, free: 5.98 MB / 446.1 MB Notification: Performance of Templates: time 0.02557/0.2483, allocations: 16.29 MB / 0.6 GB, free: 5.66 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.9353294698521495]