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.001298/0.001298, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001385/0.001385, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.38/1.38, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.216/0.216, allocations: 46.94 MB / 361.6 MB, free: 4.266 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.002143/0.002143, allocations: 67.89 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.348, allocations: 66.03 MB / 0.5619 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01222/0.3602, allocations: 8.483 MB / 0.5702 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.3754, allocations: 13.1 MB / 0.5829 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.3754, allocations: 4 kB / 0.5829 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.3756, allocations: 43.78 kB / 0.583 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00582/0.3814, allocations: 2.161 MB / 0.5851 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.833e-06/0.3814, allocations: 0 / 0.5851 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3815, allocations: 51.61 kB / 0.5851 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.3816, allocations: 8 kB / 0.5852 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3817, allocations: 27.84 kB / 0.5852 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.3817, allocations: 15.94 kB / 0.5852 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.3818, allocations: 4 kB / 0.5852 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009671/0.3914, allocations: 6.078 MB / 0.5911 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.3914, allocations: 7.922 kB / 0.5911 GB, free: 6.324 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.3915, allocations: 23.94 kB / 0.5912 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.4026, allocations: 4.795 MB / 0.5959 GB, free: 1.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.4026, allocations: 0 / 0.5959 GB, free: 1.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4026, allocations: 0 / 0.5959 GB, free: 1.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.4026, allocations: 0 / 0.5959 GB, free: 1.5 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.002784/0.4054, allocations: 0.5619 MB / 0.5964 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4055, allocations: 8.031 kB / 0.5964 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.4056, allocations: 8 kB / 0.5964 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.4057, allocations: 113.2 kB / 0.5965 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.4057, allocations: 7.938 kB / 0.5965 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.4057, allocations: 8 kB / 0.5965 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.406, allocations: 113.5 kB / 0.5966 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4061, allocations: 3.938 kB / 0.5967 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.4061, allocations: 7.984 kB / 0.5967 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.4061, allocations: 4 kB / 0.5967 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.4064, allocations: 127.9 kB / 0.5968 GB, free: 492 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.0006289/0.407, allocations: 383 kB / 0.5971 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.4073, allocations: 66.58 kB / 0.5972 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.4074, allocations: 32.8 kB / 0.5972 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003226/0.4107, allocations: 0.8702 MB / 0.5981 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.4107, allocations: 30.56 kB / 0.5981 GB, free: 15.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.4107, allocations: 0 / 0.5981 GB, free: 15.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006807/0.4114, allocations: 145.5 kB / 0.5983 GB, free: 14.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.4114, allocations: 51.41 kB / 0.5983 GB, free: 14.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/0.4115, allocations: 97.86 kB / 0.5984 GB, free: 14.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.4115, allocations: 29.7 kB / 0.5984 GB, free: 14.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.4116, allocations: 99.97 kB / 0.5985 GB, free: 14.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.4116, allocations: 15.86 kB / 0.5985 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.4116, allocations: 25.7 kB / 0.5986 GB, free: 14.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4118, allocations: 318.8 kB / 0.5989 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.4119, allocations: 23.98 kB / 0.5989 GB, free: 14.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.412, allocations: 49.69 kB / 0.5989 GB, free: 14.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.4122, allocations: 69.61 kB / 0.599 GB, free: 14.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4122, allocations: 0 / 0.599 GB, free: 14.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00028/0.4125, allocations: 97.66 kB / 0.5991 GB, free: 13.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4125, allocations: 8 kB / 0.5991 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4125, allocations: 4.031 kB / 0.5991 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4125, allocations: 0 / 0.5991 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4126, allocations: 19.92 kB / 0.5991 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4126, allocations: 4 kB / 0.5991 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.526e-05/0.4127, allocations: 7.891 kB / 0.5991 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.4127, allocations: 8.547 kB / 0.5992 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 9.69e-05/0.4128, allocations: 117.8 kB / 0.5993 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.4129, allocations: 7.938 kB / 0.5993 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/0.4133, allocations: 253.4 kB / 0.5995 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.4133, allocations: 3.938 kB / 0.5995 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4133, allocations: 4 kB / 0.5995 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4133, allocations: 0 / 0.5995 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.4136, allocations: 216.5 kB / 0.5997 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4136, allocations: 0 / 0.5997 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/0.4137, allocations: 19.98 kB / 0.5997 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.4137, allocations: 4 kB / 0.5997 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.4137, allocations: 0 / 0.5997 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4137, allocations: 0 / 0.5997 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4137, allocations: 0 / 0.5997 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.4141, allocations: 265.2 kB / 0.6 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.4141, allocations: 3.953 kB / 0.6 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.4141, allocations: 11.94 kB / 0.6 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.4142, allocations: 4.172 kB / 0.6 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.4142, allocations: 7.984 kB / 0.6 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.4142, allocations: 11.98 kB / 0.6 GB, free: 12.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.4143, allocations: 79.28 kB / 0.6001 GB, free: 12.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4143, allocations: 3.938 kB / 0.6001 GB, free: 12.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002035/0.4163, allocations: 378.9 kB / 0.6005 GB, free: 12.47 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.01222/0.4285, allocations: 3.566 MB / 0.604 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004261/0.429, allocations: 99.89 kB / 0.6041 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.429, allocations: 0 / 0.6041 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.4291, allocations: 51.97 kB / 0.6041 GB, free: 8.742 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.4294, allocations: 19.98 kB / 0.6041 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/0.43, allocations: 288 kB / 0.6044 GB, free: 8.406 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.4303, allocations: 0.6963 MB / 0.6051 GB, free: 7.684 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.4304, allocations: 19.42 kB / 0.6051 GB, free: 7.664 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4304, allocations: 0 / 0.6051 GB, free: 7.664 MB / 446.1 MB Notification: Performance of Templates: time 0.02368/0.4541, allocations: 16.9 MB / 0.6216 GB, free: 6.73 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/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: 8.836608070880175]