Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001913/0.001913, allocations: 107.6 kB / 21.19 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002261/0.002261, allocations: 206.8 kB / 24.48 MB, free: 3.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.95 MB / 361.5 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 87.86 kB / 0.4974 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2779, allocations: 66.08 MB / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01164/0.2895, allocations: 8.051 MB / 0.5698 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.3014, allocations: 9.893 MB / 0.5794 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.3014, allocations: 0 / 0.5794 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.3016, allocations: 39.81 kB / 0.5795 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004905/0.3065, allocations: 1.854 MB / 0.5813 GB, free: 88 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.834e-06/0.3065, allocations: 0 / 0.5813 GB, free: 88 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.955e-05/0.3066, allocations: 51.67 kB / 0.5813 GB, free: 36 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.3067, allocations: 4 kB / 0.5813 GB, free: 32 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.3068, allocations: 35.89 kB / 0.5814 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.3069, allocations: 15.88 kB / 0.5814 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.854e-06/0.3069, allocations: 0 / 0.5814 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009647/0.3165, allocations: 6.689 MB / 0.5879 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.3165, allocations: 8 kB / 0.5879 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.3166, allocations: 11.94 kB / 0.5879 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.3279, allocations: 5.1 MB / 0.5929 GB, free: 4.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3279, allocations: 0 / 0.5929 GB, free: 4.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3279, allocations: 4 kB / 0.5929 GB, free: 4.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3279, allocations: 0 / 0.5929 GB, free: 4.148 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.002391/0.3303, allocations: 0.5036 MB / 0.5934 GB, free: 3.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3303, allocations: 8.031 kB / 0.5934 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.3304, allocations: 11.98 kB / 0.5934 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.3305, allocations: 109.1 kB / 0.5935 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3306, allocations: 12 kB / 0.5935 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-06/0.3306, allocations: 0 / 0.5935 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3307, allocations: 81.67 kB / 0.5936 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3307, allocations: 3.938 kB / 0.5936 GB, free: 3.359 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.3307, allocations: 4 kB / 0.5936 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3307, allocations: 0 / 0.5936 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3308, allocations: 83.94 kB / 0.5937 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3313, allocations: 272.3 kB / 0.594 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.931e-05/0.3313, allocations: 38.52 kB / 0.594 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.3314, allocations: 24.91 kB / 0.594 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00293/0.3343, allocations: 0.8076 MB / 0.5948 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3343, allocations: 30.56 kB / 0.5948 GB, free: 2.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3344, allocations: 7.938 kB / 0.5948 GB, free: 2.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002787/0.3346, allocations: 109.7 kB / 0.5949 GB, free: 1.934 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.3347, allocations: 59.39 kB / 0.595 GB, free: 1.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.3347, allocations: 93.86 kB / 0.5951 GB, free: 1.762 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3348, allocations: 25.7 kB / 0.5951 GB, free: 1.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.3348, allocations: 92.03 kB / 0.5952 GB, free: 1.637 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.3348, allocations: 39.72 kB / 0.5952 GB, free: 1.598 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.3349, allocations: 21.72 kB / 0.5953 GB, free: 1.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.335, allocations: 318.9 kB / 0.5956 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/0.3351, allocations: 23.94 kB / 0.5956 GB, free: 1.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.456e-05/0.3351, allocations: 41.64 kB / 0.5956 GB, free: 1.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.552e-05/0.3352, allocations: 65.7 kB / 0.5957 GB, free: 1.109 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3352, allocations: 0 / 0.5957 GB, free: 1.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001693/0.3354, allocations: 93.58 kB / 0.5958 GB, free: 1.012 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3354, allocations: 6.031 kB / 0.5958 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3354, allocations: 4.406 kB / 0.5958 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3354, allocations: 4 kB / 0.5958 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.3355, allocations: 11.94 kB / 0.5958 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3355, allocations: 0 / 0.5958 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.3355, allocations: 3.938 kB / 0.5958 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.3355, allocations: 4 kB / 0.5958 GB, free: 0.9805 MB / 430.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 (6): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 8.847e-05/0.3356, allocations: 125.7 kB / 0.5959 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.3357, allocations: 3.953 kB / 0.5959 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.3359, allocations: 145.7 kB / 0.5961 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001515/0.3361, allocations: 121.6 kB / 0.5962 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3361, allocations: 0 / 0.5962 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3361, allocations: 192 / 0.5962 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.3365, allocations: 373.2 kB / 0.5965 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.3365, allocations: 11.97 kB / 0.5966 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.3366, allocations: 12 kB / 0.5966 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3366, allocations: 3.938 kB / 0.5966 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3366, allocations: 0 / 0.5966 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3366, allocations: 256 / 0.5966 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3366, allocations: 7.938 kB / 0.5966 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.3369, allocations: 227.8 kB / 0.5968 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.3369, allocations: 15.88 kB / 0.5968 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3369, allocations: 96 / 0.5968 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.762e-05/0.3369, allocations: 7.938 kB / 0.5968 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.337, allocations: 15.86 kB / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.337, allocations: 4 kB / 0.5968 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.337, allocations: 83.28 kB / 0.5969 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.337, allocations: 3.938 kB / 0.5969 GB, free: 15.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001916/0.3389, allocations: 355 kB / 0.5973 GB, free: 15.42 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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.01362/0.3526, allocations: 4.088 MB / 0.6013 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.3528, allocations: 101.6 kB / 0.6014 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3528, allocations: 0 / 0.6014 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.3529, allocations: 47.98 kB / 0.6014 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.3533, allocations: 48.12 kB / 0.6014 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.3538, allocations: 247.3 kB / 0.6017 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.367e-05/0.3539, allocations: 79.08 kB / 0.6018 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.3539, allocations: 15.44 kB / 0.6018 GB, free: 10.73 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3539, allocations: 0 / 0.6018 GB, free: 10.73 MB / 446.1 MB Notification: Performance of Templates: time 0.02457/0.3785, allocations: 19.51 MB / 0.6208 GB, free: 7.18 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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: 9.004825392010389]