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.001797/0.001797, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.002186/0.002186, allocations: 160.9 kB / 24.26 MB, free: 148 kB / 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 1.613/1.613, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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.3546/0.3546, allocations: 34.24 MB / 295.2 MB, free: 0.6602 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.493e-06/1.493e-06, allocations: 0 / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.589e-05/3.738e-05, allocations: 6.25 kB / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01404/0.01407, allocations: 8.048 MB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.02928, allocations: 9.873 MB / 395.1 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.02934, allocations: 0 / 395.1 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.02955, allocations: 31.77 kB / 395.1 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006041/0.03559, allocations: 1.884 MB / 397 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.746e-06/0.0356, allocations: 0 / 397 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.03573, allocations: 59.55 kB / 397.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.03578, allocations: 7.984 kB / 397.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.03593, allocations: 35.84 kB / 397.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.03597, allocations: 15.94 kB / 397.1 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.03599, allocations: 0 / 397.1 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01194/0.04793, allocations: 6.588 MB / 403.7 MB, free: 8.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.04795, allocations: 7.922 kB / 403.7 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.04801, allocations: 15.94 kB / 403.8 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.06244, allocations: 5.333 MB / 409.1 MB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.06245, allocations: 4 kB / 409.1 MB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.06245, allocations: 4 kB / 409.1 MB, free: 2.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.06246, allocations: 0 / 409.1 MB, free: 2.93 MB / 378.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.003121/0.06558, allocations: 0.5036 MB / 409.6 MB, free: 2.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.06563, allocations: 8.031 kB / 409.6 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.06584, allocations: 27.88 kB / 409.6 MB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.06599, allocations: 105.2 kB / 409.7 MB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.06601, allocations: 4 kB / 409.7 MB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.06602, allocations: 4 kB / 409.7 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.0662, allocations: 85.55 kB / 409.8 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.06621, allocations: 0 / 409.8 MB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.06622, allocations: 4 kB / 409.8 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.06625, allocations: 15.91 kB / 409.8 MB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.06638, allocations: 71.97 kB / 409.9 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.06695, allocations: 264.4 kB / 410.2 MB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.884e-05/0.06704, allocations: 38.52 kB / 410.2 MB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.171e-05/0.06711, allocations: 32.91 kB / 410.2 MB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003354/0.07046, allocations: 0.8344 MB / 411.1 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.07051, allocations: 42.48 kB / 411.1 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.07051, allocations: 0 / 411.1 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003529/0.07086, allocations: 121.6 kB / 411.2 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.07092, allocations: 55.41 kB / 411.3 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.07102, allocations: 97.84 kB / 411.4 MB, free: 500 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.07104, allocations: 25.7 kB / 411.4 MB, free: 468 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.0711, allocations: 88.09 kB / 411.5 MB, free: 376 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.07114, allocations: 35.67 kB / 411.5 MB, free: 340 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.07119, allocations: 25.7 kB / 411.6 MB, free: 308 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.07138, allocations: 310.8 kB / 411.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.07143, allocations: 27.98 kB / 411.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.07149, allocations: 37.7 kB / 411.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.0716, allocations: 61.72 kB / 412 MB, free: 15.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.07161, allocations: 0 / 412 MB, free: 15.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000212/0.07182, allocations: 97.5 kB / 412.1 MB, free: 15.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.07184, allocations: 8 kB / 412.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.07185, allocations: 0 / 412.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.07187, allocations: 0 / 412.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.07194, allocations: 11.98 kB / 412.1 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.07194, allocations: 0 / 412.1 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.07199, allocations: 19.92 kB / 412.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.072, allocations: 0 / 412.1 MB, free: 15.71 MB / 394.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 0.0001134/0.07212, allocations: 109.8 kB / 412.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.07217, allocations: 11.94 kB / 412.2 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.07251, allocations: 158 kB / 412.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001738/0.07268, allocations: 109.7 kB / 412.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.07269, allocations: 3.984 kB / 412.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.07269, allocations: 0 / 412.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.07327, allocations: 377.9 kB / 412.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.07327, allocations: 0 / 412.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.07335, allocations: 23.92 kB / 412.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.07335, allocations: 0 / 412.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.07336, allocations: 4 kB / 412.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.07336, allocations: 0 / 412.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.07336, allocations: 0 / 412.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.07367, allocations: 238.5 kB / 413.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.07369, allocations: 4 kB / 413.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.07371, allocations: 0 / 413.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.726e-05/0.07377, allocations: 3.938 kB / 413.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.07379, allocations: 16.23 kB / 413.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.0738, allocations: 4 kB / 413.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.673e-05/0.07387, allocations: 79.45 kB / 413.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07387, allocations: 0 / 413.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002903/0.07677, allocations: 374.8 kB / 413.6 MB, free: 14.15 MB / 394.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.01652/0.0933, allocations: 4.143 MB / 417.8 MB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.0936, allocations: 103.3 kB / 417.9 MB, free: 9.879 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.09361, allocations: 4.062 kB / 417.9 MB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.0937, allocations: 47.92 kB / 417.9 MB, free: 9.828 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.0942, allocations: 35.95 kB / 417.9 MB, free: 9.793 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.09469, allocations: 202.8 kB / 418.1 MB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.955e-05/0.09479, allocations: 87.47 kB / 418.2 MB, free: 9.465 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.09484, allocations: 12.12 kB / 418.2 MB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.09489, allocations: 16.5 kB / 418.3 MB, free: 9.438 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.09489, allocations: 0 / 418.3 MB, free: 9.438 MB / 394.7 MB Notification: Performance of Templates: time 0.03305/0.1279, allocations: 18.47 MB / 436.7 MB, free: 6.957 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: 6.343283165013418]