Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001792/0.001792, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002181/0.002181, allocations: 211.7 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.2 MB / 256.7 MB, free: 8.641 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2207/0.2207, allocations: 46.89 MB / 359.9 MB, free: 5.004 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003828/0.003828, allocations: 75.88 kB / 0.4949 GB, free: 8.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3206, allocations: 65.99 MB / 0.5594 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01195/0.3325, allocations: 8.424 MB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.3454, allocations: 11.18 MB / 0.5785 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.3455, allocations: 0 / 0.5785 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.3457, allocations: 43.8 kB / 0.5786 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004824/0.3505, allocations: 1.834 MB / 0.5804 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.689e-06/0.3505, allocations: 0 / 0.5804 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.179e-05/0.3506, allocations: 47.69 kB / 0.5804 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.3506, allocations: 7.984 kB / 0.5804 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.3508, allocations: 31.8 kB / 0.5805 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.3508, allocations: 15.92 kB / 0.5805 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.3508, allocations: 7.938 kB / 0.5805 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.3612, allocations: 6.678 MB / 0.587 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.3612, allocations: 11.97 kB / 0.587 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.3612, allocations: 23.81 kB / 0.587 GB, free: 8.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.374, allocations: 4.635 MB / 0.5916 GB, free: 4.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.374, allocations: 0 / 0.5916 GB, free: 4.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.374, allocations: 0 / 0.5916 GB, free: 4.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.374, allocations: 3.938 kB / 0.5916 GB, free: 4.168 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.002354/0.3763, allocations: 0.575 MB / 0.5921 GB, free: 3.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3764, allocations: 8.031 kB / 0.5921 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.3765, allocations: 19.92 kB / 0.5922 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.3766, allocations: 167 kB / 0.5923 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.3767, allocations: 0 / 0.5923 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.3767, allocations: 8 kB / 0.5923 GB, free: 3.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3768, allocations: 81.61 kB / 0.5924 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3768, allocations: 3.938 kB / 0.5924 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.3768, allocations: 0 / 0.5924 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3768, allocations: 0 / 0.5924 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.377, allocations: 83.88 kB / 0.5925 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.3774, allocations: 312.8 kB / 0.5928 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.375e-05/0.3775, allocations: 42.56 kB / 0.5928 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.3775, allocations: 24.92 kB / 0.5928 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003426/0.381, allocations: 1.846 MB / 0.5946 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.381, allocations: 34.56 kB / 0.5947 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.381, allocations: 96 / 0.5947 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002788/0.3813, allocations: 109.6 kB / 0.5948 GB, free: 448 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3813, allocations: 55.41 kB / 0.5948 GB, free: 380 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.3814, allocations: 97.84 kB / 0.5949 GB, free: 272 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3814, allocations: 25.7 kB / 0.595 GB, free: 240 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.3815, allocations: 95.97 kB / 0.595 GB, free: 140 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.3815, allocations: 31.72 kB / 0.5951 GB, free: 108 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.3815, allocations: 33.72 kB / 0.5951 GB, free: 68 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3817, allocations: 318.8 kB / 0.5954 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.3817, allocations: 20 kB / 0.5954 GB, free: 15.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.3818, allocations: 37.7 kB / 0.5955 GB, free: 15.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.451e-05/0.3819, allocations: 58.03 kB / 0.5955 GB, free: 15.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3819, allocations: 0 / 0.5955 GB, free: 15.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001683/0.3821, allocations: 105.6 kB / 0.5956 GB, free: 15.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3821, allocations: 11.94 kB / 0.5956 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3821, allocations: 192 / 0.5956 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3821, allocations: 0 / 0.5956 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.447e-05/0.3822, allocations: 8 kB / 0.5956 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3822, allocations: 0 / 0.5956 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.3822, allocations: 7.984 kB / 0.5957 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.3822, allocations: 0 / 0.5957 GB, free: 15.48 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 (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.807e-05/0.3823, allocations: 117.8 kB / 0.5958 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.3823, allocations: 11.97 kB / 0.5958 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.3826, allocations: 153.5 kB / 0.5959 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001484/0.3827, allocations: 113.7 kB / 0.596 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3827, allocations: 256 / 0.596 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3828, allocations: 0 / 0.596 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.3833, allocations: 434.2 kB / 0.5964 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3833, allocations: 0 / 0.5964 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.3833, allocations: 23.92 kB / 0.5965 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.3833, allocations: 8 kB / 0.5965 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3833, allocations: 3.938 kB / 0.5965 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3833, allocations: 0 / 0.5965 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3833, allocations: 3.984 kB / 0.5965 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3836, allocations: 222.9 kB / 0.5967 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.3836, allocations: 89 kB / 0.5968 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3836, allocations: 3.938 kB / 0.5968 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.765e-05/0.3837, allocations: 11.92 kB / 0.5968 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.3837, allocations: 8 kB / 0.5968 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.3837, allocations: 4 kB / 0.5968 GB, free: 14.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.149e-05/0.3838, allocations: 79.28 kB / 0.5969 GB, free: 14.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3838, allocations: 0 / 0.5969 GB, free: 14.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001839/0.3856, allocations: 358.9 kB / 0.5972 GB, free: 13.76 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.01158/0.3972, allocations: 3.725 MB / 0.6009 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.3975, allocations: 101.6 kB / 0.601 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3975, allocations: 4.062 kB / 0.601 GB, free: 9.914 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.3975, allocations: 39.98 kB / 0.601 GB, free: 9.875 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.3979, allocations: 40.09 kB / 0.601 GB, free: 9.836 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.3984, allocations: 246.6 kB / 0.6013 GB, free: 9.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.3987, allocations: 0.6924 MB / 0.602 GB, free: 8.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.3988, allocations: 15.44 kB / 0.602 GB, free: 8.828 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3988, allocations: 0 / 0.602 GB, free: 8.828 MB / 446.1 MB Notification: Performance of Templates: time 0.02624/0.425, allocations: 19.4 MB / 0.6209 GB, free: 5.398 MB / 462.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches