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.001039/0.001039, allocations: 83.58 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001638/0.001638, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 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.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.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.2523/0.2523, allocations: 34.25 MB / 295.7 MB, free: 0.7695 MB / 266.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.743e-06/1.743e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.383e-05, allocations: 9.688 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.009527/0.009551, allocations: 8.519 MB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009948/0.0195, allocations: 12.87 MB / 399.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.01953, allocations: 0 / 399.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.01974, allocations: 35.77 kB / 399.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003765/0.0235, allocations: 2.166 MB / 401.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.537e-06/0.0235, allocations: 3.938 kB / 401.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.629e-05/0.02359, allocations: 51.61 kB / 401.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.02363, allocations: 4 kB / 401.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.02377, allocations: 47.81 kB / 401.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.0238, allocations: 16 kB / 401.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.02381, allocations: 4 kB / 401.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006103/0.02992, allocations: 5.894 MB / 407.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.02993, allocations: 3.938 kB / 407.6 MB, free: 4.953 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.02997, allocations: 8 kB / 407.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007307/0.03727, allocations: 5.075 MB / 412.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.03728, allocations: 0 / 412.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.03728, allocations: 0 / 412.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.03729, allocations: 0 / 412.7 MB, free: 15.86 MB / 394.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.001787/0.03908, allocations: 0.6576 MB / 413.4 MB, free: 15.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.03912, allocations: 8.031 kB / 413.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.03925, allocations: 31.81 kB / 413.4 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.144e-05/0.03934, allocations: 116 kB / 413.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.03935, allocations: 0 / 413.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.03936, allocations: 8 kB / 413.5 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.03959, allocations: 98.34 kB / 413.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.0396, allocations: 0 / 413.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.03961, allocations: 0 / 413.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.03962, allocations: 7.938 kB / 413.6 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.03973, allocations: 67.94 kB / 413.7 MB, free: 14.8 MB / 394.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.0004125/0.04014, allocations: 339.5 kB / 414 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.04026, allocations: 67.03 kB / 414.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.0403, allocations: 31.61 kB / 414.1 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/0.04177, allocations: 0.9008 MB / 415 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.04179, allocations: 37.39 kB / 415.1 MB, free: 13.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.04179, allocations: 0 / 415.1 MB, free: 13.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003106/0.0421, allocations: 129.6 kB / 415.2 MB, free: 13.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.04213, allocations: 55.41 kB / 415.2 MB, free: 13.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.0422, allocations: 157.9 kB / 415.4 MB, free: 13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.04221, allocations: 33.64 kB / 415.4 MB, free: 12.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.04225, allocations: 134.8 kB / 415.6 MB, free: 12.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.04227, allocations: 27.78 kB / 415.6 MB, free: 12.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.04231, allocations: 31.36 kB / 415.6 MB, free: 12.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.04241, allocations: 496.1 kB / 416.1 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.788e-05/0.04244, allocations: 16.09 kB / 416.1 MB, free: 12.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.04248, allocations: 47.36 kB / 416.2 MB, free: 12.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.04255, allocations: 51.38 kB / 416.2 MB, free: 12.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.04255, allocations: 0 / 416.2 MB, free: 12.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000128/0.04268, allocations: 101.5 kB / 416.3 MB, free: 12.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.04269, allocations: 5.719 kB / 416.3 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.0427, allocations: 0 / 416.3 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.04271, allocations: 4 kB / 416.3 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.04278, allocations: 15.98 kB / 416.3 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.04278, allocations: 0 / 416.3 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.0428, allocations: 7.938 kB / 416.4 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.04281, allocations: 4 kB / 416.4 MB, free: 11.99 MB / 394.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 6.728e-05/0.04288, allocations: 164.5 kB / 416.5 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.04291, allocations: 15.89 kB / 416.5 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.04315, allocations: 184.2 kB / 416.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.04316, allocations: 8 kB / 416.7 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.04316, allocations: 4 kB / 416.7 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.04317, allocations: 0 / 416.7 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.04329, allocations: 172.5 kB / 416.9 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.04329, allocations: 0 / 416.9 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.04333, allocations: 23.92 kB / 416.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.04334, allocations: 3.938 kB / 416.9 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.04335, allocations: 4 kB / 416.9 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.04335, allocations: 0 / 416.9 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.04335, allocations: 4 kB / 416.9 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.04353, allocations: 267.8 kB / 417.2 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.04354, allocations: 11.89 kB / 417.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.04356, allocations: 3.984 kB / 417.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/0.04359, allocations: 8 kB / 417.2 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.04364, allocations: 7.984 kB / 417.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.04364, allocations: 4 kB / 417.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.037e-05/0.04368, allocations: 135.3 kB / 417.4 MB, free: 10.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04368, allocations: 0 / 417.4 MB, free: 10.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001406/0.04509, allocations: 374.9 kB / 417.7 MB, free: 10.55 MB / 394.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.007461/0.05255, allocations: 3.621 MB / 421.3 MB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.05271, allocations: 75.55 kB / 421.4 MB, free: 6.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.05271, allocations: 4 kB / 421.4 MB, free: 6.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.238e-05/0.05277, allocations: 55.81 kB / 421.5 MB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.05299, allocations: 20.58 kB / 421.5 MB, free: 6.754 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007296/0.05372, allocations: 258.1 kB / 421.7 MB, free: 6.473 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.05377, allocations: 71.34 kB / 421.8 MB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.041e-05/0.05385, allocations: 46.23 kB / 421.9 MB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.05389, allocations: 20.5 kB / 421.9 MB, free: 6.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.05389, allocations: 0 / 421.9 MB, free: 6.32 MB / 394.7 MB Notification: Performance of Templates: time 0.01862/0.0725, allocations: 19.39 MB / 441.3 MB, free: 2.922 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.962925266008824]