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.001421/0.001421, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001638/0.001638, allocations: 214.9 kB / 23.74 MB, free: 4.656 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2339/0.2339, allocations: 46.93 MB / 360.8 MB, free: 4.262 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.002108/0.002108, allocations: 63.91 kB / 0.4966 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3137, allocations: 66.04 MB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01345/0.3271, allocations: 8.479 MB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01635/0.3435, allocations: 13.1 MB / 0.5822 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.3435, allocations: 4 kB / 0.5822 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.3438, allocations: 43.75 kB / 0.5822 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006517/0.3503, allocations: 2.157 MB / 0.5843 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.202e-06/0.3503, allocations: 0 / 0.5843 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3504, allocations: 55.67 kB / 0.5844 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.3505, allocations: 7.969 kB / 0.5844 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.3506, allocations: 27.88 kB / 0.5844 GB, free: 12.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.288e-05/0.3507, allocations: 19.86 kB / 0.5844 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.3507, allocations: 0 / 0.5844 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.3607, allocations: 6.078 MB / 0.5904 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.3607, allocations: 7.938 kB / 0.5904 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.3607, allocations: 15.94 kB / 0.5904 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.3721, allocations: 4.803 MB / 0.5951 GB, free: 1.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3721, allocations: 0 / 0.5951 GB, free: 1.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3721, allocations: 0 / 0.5951 GB, free: 1.508 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3721, allocations: 3.938 kB / 0.5951 GB, free: 1.504 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.002983/0.3751, allocations: 0.558 MB / 0.5956 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3751, allocations: 8.031 kB / 0.5957 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.3752, allocations: 15.98 kB / 0.5957 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3754, allocations: 109.2 kB / 0.5958 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3754, allocations: 4 kB / 0.5958 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.3754, allocations: 8 kB / 0.5958 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.3757, allocations: 113.6 kB / 0.5959 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3758, allocations: 7.938 kB / 0.5959 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3758, allocations: 0 / 0.5959 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.3758, allocations: 0 / 0.5959 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.3761, allocations: 135.8 kB / 0.596 GB, free: 500 kB / 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.0006543/0.3768, allocations: 371.1 kB / 0.5964 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.3771, allocations: 74.52 kB / 0.5965 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3772, allocations: 28.84 kB / 0.5965 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003341/0.3805, allocations: 0.8741 MB / 0.5973 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3806, allocations: 38.5 kB / 0.5974 GB, free: 15.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3806, allocations: 0 / 0.5974 GB, free: 15.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006918/0.3813, allocations: 137.6 kB / 0.5975 GB, free: 14.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3813, allocations: 51.41 kB / 0.5976 GB, free: 14.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3814, allocations: 97.84 kB / 0.5976 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.3814, allocations: 33.7 kB / 0.5977 GB, free: 14.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.3815, allocations: 95.98 kB / 0.5978 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.3815, allocations: 23.84 kB / 0.5978 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.3816, allocations: 21.72 kB / 0.5978 GB, free: 14.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3818, allocations: 322.8 kB / 0.5981 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3819, allocations: 23.97 kB / 0.5981 GB, free: 14.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.382, allocations: 41.69 kB / 0.5982 GB, free: 14.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.3822, allocations: 69.64 kB / 0.5982 GB, free: 14.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3822, allocations: 0 / 0.5982 GB, free: 14.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002986/0.3825, allocations: 105.6 kB / 0.5983 GB, free: 13.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3825, allocations: 4 kB / 0.5984 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3825, allocations: 0 / 0.5984 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3825, allocations: 4.031 kB / 0.5984 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.3827, allocations: 19.98 kB / 0.5984 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3827, allocations: 0.5469 kB / 0.5984 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.201e-05/0.3827, allocations: 15.88 kB / 0.5984 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.3827, allocations: 7.938 kB / 0.5984 GB, free: 13.91 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.0001019/0.3828, allocations: 113.8 kB / 0.5985 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.3829, allocations: 4 kB / 0.5985 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/0.3834, allocations: 259.8 kB / 0.5988 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3834, allocations: 7.984 kB / 0.5988 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3834, allocations: 0 / 0.5988 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3834, allocations: 0 / 0.5988 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.3837, allocations: 204.5 kB / 0.599 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3837, allocations: 0 / 0.599 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.3838, allocations: 27.98 kB / 0.599 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3838, allocations: 0 / 0.599 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3838, allocations: 4 kB / 0.599 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3838, allocations: 0 / 0.599 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3838, allocations: 0 / 0.599 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.3842, allocations: 259.2 kB / 0.5992 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.3842, allocations: 15.94 kB / 0.5993 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3843, allocations: 0 / 0.5993 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.3843, allocations: 12 kB / 0.5993 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.3844, allocations: 11.97 kB / 0.5993 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.3844, allocations: 7.938 kB / 0.5993 GB, free: 12.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.654e-05/0.3845, allocations: 79.28 kB / 0.5994 GB, free: 12.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3845, allocations: 0 / 0.5994 GB, free: 12.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002227/0.3867, allocations: 378.8 kB / 0.5997 GB, free: 12.48 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.01251/0.3992, allocations: 3.566 MB / 0.6032 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004196/0.3996, allocations: 95.81 kB / 0.6033 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3996, allocations: 0 / 0.6033 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3998, allocations: 63.98 kB / 0.6034 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.4001, allocations: 23.06 kB / 0.6034 GB, free: 8.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.4007, allocations: 254.3 kB / 0.6036 GB, free: 8.449 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.4011, allocations: 0.7001 MB / 0.6043 GB, free: 7.723 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.4012, allocations: 49.33 kB / 0.6044 GB, free: 7.676 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.4012, allocations: 23.44 kB / 0.6044 GB, free: 7.652 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4012, allocations: 0 / 0.6044 GB, free: 7.652 MB / 446.1 MB Notification: Performance of Templates: time 0.02725/0.4285, allocations: 16.4 MB / 0.6204 GB, free: 7.223 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 -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/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_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.755817907862365]