Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.0008789/0.0008789, allocations: 84.34 kB / 21.44 MB, free: 3.117 MB / 18.57 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.004009/0.004009, allocations: 153.5 kB / 24.69 MB, free: 9.438 MB / 18.57 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 0.8729/0.8729, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2431/0.2431, allocations: 34.25 MB / 295.6 MB, free: 0.6641 MB / 266.7 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.104e-05, allocations: 6.219 kB / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.1826/0.1826, allocations: 8.024 MB / 451.4 MB, free: 40.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005885/0.1885, allocations: 9.878 MB / 461.3 MB, free: 34.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.1885, allocations: 3.938 kB / 461.3 MB, free: 34.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.1887, allocations: 30.66 kB / 461.3 MB, free: 34.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.1917, allocations: 1.877 MB / 463.2 MB, free: 33.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.36e-06/0.1917, allocations: 0 / 463.2 MB, free: 33.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.1918, allocations: 60.8 kB / 463.3 MB, free: 33.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.1919, allocations: 6.375 kB / 463.3 MB, free: 33.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.192, allocations: 34.42 kB / 463.3 MB, free: 33.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.801e-05/0.192, allocations: 16.67 kB / 463.3 MB, free: 33.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.192, allocations: 0 / 463.3 MB, free: 33.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005419/0.1975, allocations: 6.598 MB / 469.9 MB, free: 32.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.1975, allocations: 0 / 469.9 MB, free: 32.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.1975, allocations: 17.92 kB / 470 MB, free: 32.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006436/0.204, allocations: 5.333 MB / 475.3 MB, free: 31.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.204, allocations: 0 / 475.3 MB, free: 31.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.204, allocations: 3.406 kB / 475.3 MB, free: 31.97 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.204, allocations: 1.219 kB / 475.3 MB, free: 31.97 MB / 410.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.00164/0.2056, allocations: 0.5002 MB / 475.8 MB, free: 31.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.2057, allocations: 12 kB / 475.8 MB, free: 31.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.884e-05/0.2057, allocations: 16.39 kB / 475.8 MB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.21e-05/0.2058, allocations: 108.5 kB / 475.9 MB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2058, allocations: 1.312 kB / 475.9 MB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.2058, allocations: 7 kB / 475.9 MB, free: 31.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.206, allocations: 75.14 kB / 476 MB, free: 31.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.206, allocations: 1.734 kB / 476 MB, free: 31.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.206, allocations: 0 / 476 MB, free: 31.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.206, allocations: 10.56 kB / 476 MB, free: 31.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.56e-05/0.2061, allocations: 81.83 kB / 476.1 MB, free: 31.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.2064, allocations: 256.5 kB / 476.3 MB, free: 31.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.47e-05/0.2065, allocations: 47.28 kB / 476.4 MB, free: 31.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.2065, allocations: 34.23 kB / 476.4 MB, free: 31.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/0.2082, allocations: 0.8129 MB / 477.2 MB, free: 30.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2082, allocations: 38.28 kB / 477.3 MB, free: 30.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.2082, allocations: 0 / 477.3 MB, free: 30.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002538/0.2085, allocations: 112.3 kB / 477.4 MB, free: 30.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.2085, allocations: 52.44 kB / 477.4 MB, free: 30.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.476e-05/0.2086, allocations: 103.4 kB / 477.5 MB, free: 30.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.2086, allocations: 26.77 kB / 477.6 MB, free: 30.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.2086, allocations: 88.39 kB / 477.7 MB, free: 30.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.2086, allocations: 26.88 kB / 477.7 MB, free: 30.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.2087, allocations: 24.92 kB / 477.7 MB, free: 30.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.406e-05/0.2087, allocations: 317 kB / 478 MB, free: 30.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.2087, allocations: 21.06 kB / 478 MB, free: 30.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.883e-05/0.2088, allocations: 39.02 kB / 478.1 MB, free: 30.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.897e-05/0.2088, allocations: 67.41 kB / 478.1 MB, free: 30.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2088, allocations: 0 / 478.1 MB, free: 30.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001056/0.2089, allocations: 96.2 kB / 478.2 MB, free: 29.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.209, allocations: 5.281 kB / 478.2 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.209, allocations: 3.641 kB / 478.2 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.209, allocations: 0.9688 kB / 478.2 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.767e-05/0.209, allocations: 11.72 kB / 478.3 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.209, allocations: 4.734 kB / 478.3 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.2091, allocations: 8.984 kB / 478.3 MB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.2091, allocations: 3.062 kB / 478.3 MB, free: 29.97 MB / 410.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 (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 4.976e-05/0.2091, allocations: 116.4 kB / 478.4 MB, free: 29.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.2092, allocations: 6.906 kB / 478.4 MB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.2093, allocations: 159.5 kB / 478.5 MB, free: 29.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.656e-05/0.2094, allocations: 117.7 kB / 478.7 MB, free: 29.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2094, allocations: 5.031 kB / 478.7 MB, free: 29.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2095, allocations: 0 / 478.7 MB, free: 29.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.2097, allocations: 375.9 kB / 479 MB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2097, allocations: 0 / 479 MB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.2098, allocations: 23.69 kB / 479.1 MB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2098, allocations: 0 / 479.1 MB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.2098, allocations: 5.812 kB / 479.1 MB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2098, allocations: 3.422 kB / 479.1 MB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2098, allocations: 1.844 kB / 479.1 MB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2099, allocations: 219.5 kB / 479.3 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.2099, allocations: 7.344 kB / 479.3 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.2099, allocations: 8.562 kB / 479.3 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.098e-05/0.21, allocations: 1.156 kB / 479.3 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.21, allocations: 9.594 kB / 479.3 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.21, allocations: 7.562 kB / 479.3 MB, free: 29.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.372e-05/0.21, allocations: 81.53 kB / 479.4 MB, free: 29.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.21, allocations: 0 / 479.4 MB, free: 29.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001135/0.2111, allocations: 367.3 kB / 479.8 MB, free: 29.02 MB / 410.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: 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.008431/0.2196, allocations: 4.135 MB / 483.9 MB, free: 26.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.2198, allocations: 103.6 kB / 484 MB, free: 26.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2198, allocations: 1.344 kB / 484 MB, free: 26.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.535e-05/0.2198, allocations: 40.34 kB / 484 MB, free: 26.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.2201, allocations: 40.27 kB / 484.1 MB, free: 26.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.2205, allocations: 227.7 kB / 484.3 MB, free: 26.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.501e-05/0.2205, allocations: 84.14 kB / 484.4 MB, free: 26.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.2205, allocations: 16.56 kB / 484.4 MB, free: 26.52 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2205, allocations: 0 / 484.4 MB, free: 26.52 MB / 410.7 MB Notification: Performance of Templates: time 0.01931/0.2398, allocations: 19.6 MB / 0.4922 GB, free: 19.74 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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 [Calling sys.exit(0), Time elapsed: 5.783922323957086]