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.0009132/0.0009132, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.002186, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007477/0.0007477, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001785, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.052/1.052, allocations: 177.2 MB / 189.8 MB, free: 5.219 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09394/1.146, allocations: 53.66 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] 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.2724/0.2724, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03027/0.3026, allocations: 13.1 MB / 291.5 MB, free: 7.312 MB / 282.7 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 1.673e-06/1.673e-06, allocations: 3.938 kB / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.81e-05, allocations: 4.031 kB / 292.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.0148/0.01483, allocations: 8.574 MB / 301.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.03221, allocations: 12.88 MB / 314.3 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.03227, allocations: 0 / 314.3 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.03245, allocations: 31.81 kB / 314.3 MB, free: 0.625 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00741/0.03986, allocations: 2.056 MB / 316.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.581e-06/0.03986, allocations: 0 / 316.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.262e-05/0.03994, allocations: 51.62 kB / 316.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.135e-05/0.03997, allocations: 3.984 kB / 316.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.04007, allocations: 47.72 kB / 316.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.056e-05/0.04011, allocations: 15.92 kB / 316.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-06/0.04011, allocations: 4 kB / 316.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006397/0.04651, allocations: 6.046 MB / 322.5 MB, free: 8.379 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.04653, allocations: 7.938 kB / 322.5 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.04655, allocations: 8 kB / 322.5 MB, free: 8.363 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006218/0.05276, allocations: 4.814 MB / 327.4 MB, free: 3.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.05278, allocations: 0 / 327.4 MB, free: 3.543 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.05278, allocations: 0 / 327.4 MB, free: 3.543 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.05279, allocations: 0 / 327.4 MB, free: 3.543 MB / 314.7 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.001755/0.05454, allocations: 1.283 MB / 328.6 MB, free: 2.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.05457, allocations: 12.03 kB / 328.7 MB, free: 2.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.05467, allocations: 23.92 kB / 328.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.715e-05/0.05474, allocations: 121 kB / 328.8 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.05475, allocations: 8 kB / 328.8 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.05476, allocations: 4 kB / 328.8 MB, free: 2.023 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.05492, allocations: 101.1 kB / 328.9 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-06/0.05492, allocations: 4 kB / 328.9 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.05493, allocations: 0 / 328.9 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.05493, allocations: 7.938 kB / 328.9 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.852e-05/0.05502, allocations: 53.81 kB / 329 MB, free: 1.852 MB / 314.7 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.0002619/0.05529, allocations: 225.7 kB / 329.2 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.05539, allocations: 54.48 kB / 329.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.05541, allocations: 16.86 kB / 329.3 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003973/0.05938, allocations: 3.113 MB / 332.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.0594, allocations: 42.5 kB / 332.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.0594, allocations: 0 / 332.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002244/0.05963, allocations: 105.5 kB / 332.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.05965, allocations: 51.41 kB / 332.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.016e-05/0.0597, allocations: 102.7 kB / 332.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.05971, allocations: 29.7 kB / 332.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.05975, allocations: 96.02 kB / 332.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.05976, allocations: 19.84 kB / 332.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.05979, allocations: 21.7 kB / 332.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.05987, allocations: 322.8 kB / 333.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.05988, allocations: 12 kB / 333.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-05/0.05991, allocations: 29.7 kB / 333.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.05997, allocations: 38.16 kB / 333.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.05997, allocations: 0 / 333.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.83e-05/0.06006, allocations: 77.53 kB / 333.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.06007, allocations: 7.938 kB / 333.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.06007, allocations: 4.031 kB / 333.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.06008, allocations: 4 kB / 333.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.06014, allocations: 15.98 kB / 333.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.06014, allocations: 4 kB / 333.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.06016, allocations: 7.938 kB / 333.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.06017, allocations: 7.938 kB / 333.4 MB, free: 13.36 MB / 330.7 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.171e-05/0.06022, allocations: 105.8 kB / 333.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.06026, allocations: 23.81 kB / 333.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.06044, allocations: 201.4 kB / 333.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.06044, allocations: 0 / 333.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.06044, allocations: 4 kB / 333.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.06045, allocations: 0 / 333.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.06057, allocations: 105.8 kB / 333.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.06057, allocations: 0 / 333.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.06062, allocations: 27.92 kB / 333.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.06063, allocations: 11.89 kB / 333.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.06063, allocations: 4 kB / 333.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.06064, allocations: 7.938 kB / 333.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.06064, allocations: 0 / 333.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.06064, allocations: 0 / 333.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.06077, allocations: 240.6 kB / 334.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-06/0.06078, allocations: 4 kB / 334.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.243e-05/0.06081, allocations: 3.938 kB / 334.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.06085, allocations: 15.97 kB / 334.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.06086, allocations: 0 / 334.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.268e-05/0.06087, allocations: 12.86 kB / 334.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06087, allocations: 0 / 334.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001147/0.06202, allocations: 382.8 kB / 334.5 MB, free: 12.18 MB / 330.7 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.008078/0.0701, allocations: 3.655 MB / 338.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.07021, allocations: 60.78 kB / 338.2 MB, free: 8.445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.07021, allocations: 0 / 338.2 MB, free: 8.445 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.07028, allocations: 52.81 kB / 338.2 MB, free: 8.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.07049, allocations: 49.69 kB / 338.3 MB, free: 8.336 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.07271, allocations: 264.5 kB / 338.6 MB, free: 8.047 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.895e-05/0.07275, allocations: 63.34 kB / 338.6 MB, free: 7.965 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.545e-05/0.07285, allocations: 47.83 kB / 338.7 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.07292, allocations: 71.36 kB / 338.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.07293, allocations: 0 / 338.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of Templates: time 0.0203/0.09322, allocations: 18.04 MB / 356.8 MB, free: 5.812 MB / 346.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6269771866500378]