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.001627/0.001627, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001958/0.001958, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.418/1.418, allocations: 230.6 MB / 258.2 MB, free: 7.734 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.2149/0.2149, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.002019/0.002019, allocations: 59.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3362, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01175/0.3479, allocations: 8.043 MB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.3618, allocations: 11.48 MB / 0.5809 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.3619, allocations: 0 / 0.5809 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.3621, allocations: 31.81 kB / 0.5809 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007255/0.3694, allocations: 2.145 MB / 0.583 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.051e-06/0.3694, allocations: 0 / 0.583 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.847e-05/0.3695, allocations: 51.61 kB / 0.583 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.3695, allocations: 8 kB / 0.5831 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.3696, allocations: 31.84 kB / 0.5831 GB, free: 14.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.797e-05/0.3697, allocations: 15.92 kB / 0.5831 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.3697, allocations: 4 kB / 0.5831 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01015/0.3798, allocations: 6 MB / 0.589 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.3799, allocations: 4 kB / 0.589 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.3799, allocations: 31.73 kB / 0.589 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.3928, allocations: 4.783 MB / 0.5937 GB, free: 3.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.3928, allocations: 4 kB / 0.5937 GB, free: 3.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.3928, allocations: 4 kB / 0.5937 GB, free: 3.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3928, allocations: 0 / 0.5937 GB, free: 3.445 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.003573/0.3964, allocations: 0.5657 MB / 0.5942 GB, free: 2.848 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3964, allocations: 8.031 kB / 0.5942 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.3965, allocations: 7.984 kB / 0.5942 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3967, allocations: 109.2 kB / 0.5943 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.3967, allocations: 4 kB / 0.5943 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.3967, allocations: 4 kB / 0.5944 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.397, allocations: 117.6 kB / 0.5945 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.397, allocations: 3.938 kB / 0.5945 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.397, allocations: 3.938 kB / 0.5945 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3971, allocations: 4 kB / 0.5945 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.3974, allocations: 123.9 kB / 0.5946 GB, free: 2.438 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.0005608/0.398, allocations: 296.2 kB / 0.5949 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.3983, allocations: 82.45 kB / 0.595 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3984, allocations: 28.84 kB / 0.595 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003185/0.4015, allocations: 0.8662 MB / 0.5958 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.4016, allocations: 30.56 kB / 0.5959 GB, free: 1.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.4016, allocations: 0 / 0.5959 GB, free: 1.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006392/0.4022, allocations: 137.6 kB / 0.596 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.4023, allocations: 55.39 kB / 0.596 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.4023, allocations: 109.8 kB / 0.5961 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.4024, allocations: 29.7 kB / 0.5962 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.4024, allocations: 88.03 kB / 0.5963 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.4025, allocations: 27.89 kB / 0.5963 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.4025, allocations: 21.72 kB / 0.5963 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4026, allocations: 326.7 kB / 0.5966 GB, free: 264 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.4027, allocations: 27.97 kB / 0.5966 GB, free: 236 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4029, allocations: 42 kB / 0.5967 GB, free: 188 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.4031, allocations: 69.84 kB / 0.5968 GB, free: 112 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4031, allocations: 0 / 0.5968 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000294/0.4034, allocations: 101.6 kB / 0.5968 GB, free: 4 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4034, allocations: 4 kB / 0.5969 GB, free: 0 / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.4034, allocations: 4.047 kB / 0.5969 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4034, allocations: 0 / 0.5969 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.4035, allocations: 15.97 kB / 0.5969 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.4035, allocations: 8 kB / 0.5969 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.4036, allocations: 19.88 kB / 0.5969 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.4036, allocations: 4 kB / 0.5969 GB, free: 15.95 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.000107/0.4037, allocations: 125.7 kB / 0.597 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.4038, allocations: 0 / 0.597 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/0.4043, allocations: 249.5 kB / 0.5973 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4043, allocations: 3.984 kB / 0.5973 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.4043, allocations: 0 / 0.5973 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4043, allocations: 4 kB / 0.5973 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.4046, allocations: 173.1 kB / 0.5974 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4046, allocations: 0 / 0.5974 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.462e-05/0.4047, allocations: 23.92 kB / 0.5975 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4047, allocations: 4 kB / 0.5975 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4047, allocations: 7.938 kB / 0.5975 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4047, allocations: 4 kB / 0.5975 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4047, allocations: 0 / 0.5975 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.4051, allocations: 257.7 kB / 0.5977 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.4051, allocations: 7.891 kB / 0.5977 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4051, allocations: 8 kB / 0.5977 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.4052, allocations: 3.984 kB / 0.5977 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.4052, allocations: 15.92 kB / 0.5977 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.4052, allocations: 4 kB / 0.5978 GB, free: 15.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.159e-05/0.4053, allocations: 87.27 kB / 0.5978 GB, free: 14.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4053, allocations: 0 / 0.5978 GB, free: 14.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00296/0.4083, allocations: 375 kB / 0.5982 GB, free: 14.57 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.01387/0.4221, allocations: 3.565 MB / 0.6017 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.4225, allocations: 91.95 kB / 0.6018 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4225, allocations: 0 / 0.6018 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.4227, allocations: 63.91 kB / 0.6018 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.423, allocations: 19.92 kB / 0.6018 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.4236, allocations: 258.3 kB / 0.6021 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.111e-05/0.4236, allocations: 83.08 kB / 0.6022 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.4238, allocations: 51.61 kB / 0.6022 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.4238, allocations: 19.42 kB / 0.6022 GB, free: 10.36 MB / 446.1 MB Notification: Performance of SimCode: time 5e-07/0.4238, allocations: 3.938 kB / 0.6022 GB, free: 10.36 MB / 446.1 MB Notification: Performance of Templates: time 0.02427/0.4481, allocations: 16.44 MB / 0.6183 GB, free: 9.906 MB / 462.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 -s cvode -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: 6.3037146129936446]