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.001819/0.001819, allocations: 120.2 kB / 19.18 MB, free: 3.852 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.002304/0.002304, allocations: 205 kB / 22.12 MB, free: 0.9062 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.44/1.44, allocations: 230.3 MB / 255.2 MB, free: 15.19 MB / 206.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.2311/0.2311, allocations: 46.92 MB / 358.2 MB, free: 10.4 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.00226/0.00226, allocations: 79.88 kB / 0.4925 GB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1296, allocations: 66 MB / 0.557 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01281/0.1424, allocations: 8.448 MB / 0.5652 GB, free: 13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.1584, allocations: 13.05 MB / 0.5779 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.1585, allocations: 0 / 0.5779 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.1588, allocations: 35.8 kB / 0.578 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006924/0.1657, allocations: 2.15 MB / 0.5801 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.236e-06/0.1657, allocations: 0 / 0.5801 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1658, allocations: 47.62 kB / 0.5801 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.1659, allocations: 7.984 kB / 0.5801 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.166, allocations: 27.86 kB / 0.5802 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.166, allocations: 15.92 kB / 0.5802 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.377e-06/0.166, allocations: 4 kB / 0.5802 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01019/0.1762, allocations: 6.043 MB / 0.5861 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.1763, allocations: 7.875 kB / 0.5861 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.1763, allocations: 27.91 kB / 0.5861 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.1883, allocations: 4.783 MB / 0.5908 GB, free: 2.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1883, allocations: 0 / 0.5908 GB, free: 2.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1883, allocations: 0 / 0.5908 GB, free: 2.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.1883, allocations: 0 / 0.5908 GB, free: 2.73 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.00363/0.1919, allocations: 0.6372 MB / 0.5914 GB, free: 2.043 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.192, allocations: 12.03 kB / 0.5914 GB, free: 2.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.1921, allocations: 11.98 kB / 0.5914 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1922, allocations: 159.1 kB / 0.5916 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.1923, allocations: 8 kB / 0.5916 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.1923, allocations: 11.86 kB / 0.5916 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.1926, allocations: 113.6 kB / 0.5917 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1926, allocations: 7.938 kB / 0.5917 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1927, allocations: 0 / 0.5917 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.1927, allocations: 0 / 0.5917 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.193, allocations: 131.9 kB / 0.5918 GB, free: 1.551 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.0006613/0.1937, allocations: 396 kB / 0.5922 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.194, allocations: 74.45 kB / 0.5923 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1941, allocations: 36.84 kB / 0.5923 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2896/0.4837, allocations: 2.118 MB / 0.5944 GB, free: 32.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4837, allocations: 40.41 kB / 0.5944 GB, free: 32.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 2.945e-06/0.4837, allocations: 0 / 0.5944 GB, free: 32.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007203/0.4844, allocations: 142 kB / 0.5946 GB, free: 32.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.4844, allocations: 53.33 kB / 0.5946 GB, free: 32.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.4845, allocations: 101.7 kB / 0.5947 GB, free: 32.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.4846, allocations: 28.45 kB / 0.5947 GB, free: 32.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.4846, allocations: 98.25 kB / 0.5948 GB, free: 32.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.4846, allocations: 22.83 kB / 0.5949 GB, free: 32.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.4847, allocations: 27.05 kB / 0.5949 GB, free: 32.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.4847, allocations: 316.1 kB / 0.5952 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.4848, allocations: 27.52 kB / 0.5952 GB, free: 32.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.485, allocations: 44.56 kB / 0.5953 GB, free: 32.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.4852, allocations: 65.86 kB / 0.5953 GB, free: 32.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4852, allocations: 0 / 0.5953 GB, free: 32.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003003/0.4855, allocations: 107.7 kB / 0.5954 GB, free: 32.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4855, allocations: 4.969 kB / 0.5954 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4855, allocations: 1.094 kB / 0.5954 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4855, allocations: 1.359 kB / 0.5954 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.4856, allocations: 22.58 kB / 0.5955 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4856, allocations: 0.5625 kB / 0.5955 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/0.4857, allocations: 12.06 kB / 0.5955 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.4857, allocations: 6.719 kB / 0.5955 GB, free: 32.13 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 6.225e-05/0.4858, allocations: 117.6 kB / 0.5956 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.4858, allocations: 2.125 kB / 0.5956 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005353/0.4864, allocations: 253.4 kB / 0.5958 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.4864, allocations: 1.641 kB / 0.5958 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4864, allocations: 3.812 kB / 0.5958 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4864, allocations: 2.688 kB / 0.5958 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.4866, allocations: 229.3 kB / 0.5961 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4866, allocations: 0.7188 kB / 0.5961 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4867, allocations: 21 kB / 0.5961 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4867, allocations: 1.406 kB / 0.5961 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.4867, allocations: 11.72 kB / 0.5961 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4867, allocations: 0.8125 kB / 0.5961 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4867, allocations: 2.859 kB / 0.5961 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.4871, allocations: 259.3 kB / 0.5963 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.4872, allocations: 87.39 kB / 0.5964 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.4872, allocations: 5.391 kB / 0.5964 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/0.4873, allocations: 4.125 kB / 0.5964 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.4874, allocations: 14.73 kB / 0.5964 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4874, allocations: 3.172 kB / 0.5964 GB, free: 31.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.792e-05/0.4874, allocations: 79.77 kB / 0.5965 GB, free: 31.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4874, allocations: 0.625 kB / 0.5965 GB, free: 31.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002845/0.4903, allocations: 375.9 kB / 0.5969 GB, free: 31.45 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.01262/0.5029, allocations: 3.57 MB / 0.6004 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004352/0.5033, allocations: 90.14 kB / 0.6005 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5033, allocations: 0 / 0.6005 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.5035, allocations: 60.2 kB / 0.6005 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.5038, allocations: 28.3 kB / 0.6005 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.5044, allocations: 276.3 kB / 0.6008 GB, free: 29.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.5045, allocations: 0.6952 MB / 0.6015 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.5046, allocations: 21.25 kB / 0.6015 GB, free: 28.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5046, allocations: 0 / 0.6015 GB, free: 28.93 MB / 446.1 MB Notification: Performance of Templates: time 0.02829/0.5329, allocations: 16.92 MB / 0.618 GB, free: 25.58 MB / 446.1 MB " [Timeout remaining time 659] 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/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-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: 9.266373270002077]