Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001046/0.001046, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001309/0.001309, allocations: 161.5 kB / 25.61 MB, free: 8.582 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 1.054/1.054, allocations: 177 MB / 205.9 MB, free: 4.465 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.1781/0.1781, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.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_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.398e-05, allocations: 6.312 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01042/0.01045, allocations: 8.791 MB / 388.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.02074, allocations: 13.66 MB / 402.5 MB, free: 248 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.02086, allocations: 0 / 402.5 MB, free: 248 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.02115, allocations: 43.75 kB / 402.5 MB, free: 204 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008812/0.02996, allocations: 2.492 MB / 405 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.03008, allocations: 19.91 kB / 405 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.03029, allocations: 139.1 kB / 405.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.21e-05/0.03035, allocations: 4 kB / 405.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.03058, allocations: 79.78 kB / 405.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.03068, allocations: 27.92 kB / 405.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.0307, allocations: 8 kB / 405.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01042/0.04112, allocations: 7.153 MB / 412.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.04117, allocations: 11.94 kB / 412.4 MB, free: 6.242 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.04131, allocations: 39.91 kB / 412.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.05494, allocations: 6.644 MB / 419.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.05494, allocations: 0 / 419.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.05494, allocations: 0 / 419.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.05495, allocations: 0 / 419.1 MB, free: 15.55 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.004318/0.05927, allocations: 0.7701 MB / 419.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.05932, allocations: 8.031 kB / 419.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.05952, allocations: 63.69 kB / 419.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.05963, allocations: 115.9 kB / 420.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.05965, allocations: 4 kB / 420.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.05968, allocations: 8 kB / 420.1 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.05996, allocations: 189.2 kB / 420.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.05997, allocations: 0 / 420.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.05998, allocations: 0 / 420.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.06, allocations: 15.94 kB / 420.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.06011, allocations: 63.81 kB / 420.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.06059, allocations: 348 kB / 420.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.0608, allocations: 107 kB / 420.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.06084, allocations: 35.67 kB / 420.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/0.06202, allocations: 0.6238 MB / 421.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.06228, allocations: 198 kB / 421.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.06228, allocations: 0 / 421.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004004/0.06268, allocations: 191 kB / 421.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.06272, allocations: 51.41 kB / 421.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.06281, allocations: 165.9 kB / 422 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.06283, allocations: 29.7 kB / 422.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.06288, allocations: 138.8 kB / 422.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.06293, allocations: 47.53 kB / 422.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.06299, allocations: 47.34 kB / 422.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.06314, allocations: 0.4962 MB / 422.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.06318, allocations: 23.92 kB / 422.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.06323, allocations: 47.34 kB / 422.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.458e-05/0.06331, allocations: 73.25 kB / 422.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.06331, allocations: 0 / 422.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001877/0.0635, allocations: 125.4 kB / 423 MB, free: 11.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.06352, allocations: 8 kB / 423.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.06353, allocations: 0 / 423.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.06354, allocations: 4 kB / 423.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.06364, allocations: 23.98 kB / 423.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.06364, allocations: 3.938 kB / 423.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.06369, allocations: 19.88 kB / 423.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.06371, allocations: 4 kB / 423.1 MB, free: 11.28 MB / 346.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: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 9.918e-05/0.06381, allocations: 164.5 kB / 423.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.06386, allocations: 35.75 kB / 423.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.06417, allocations: 225.5 kB / 423.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000151/0.06432, allocations: 179.1 kB / 423.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.06433, allocations: 0 / 423.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.06433, allocations: 3.984 kB / 423.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.06489, allocations: 0.5332 MB / 424.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.0649, allocations: 0 / 424.2 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.822e-05/0.06497, allocations: 27.98 kB / 424.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.06498, allocations: 15.92 kB / 424.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.06499, allocations: 4 kB / 424.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.065, allocations: 7.938 kB / 424.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.065, allocations: 0 / 424.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.06534, allocations: 367.6 kB / 424.7 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.06536, allocations: 23.92 kB / 424.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.06538, allocations: 3.984 kB / 424.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.06546, allocations: 15.98 kB / 424.7 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.06551, allocations: 19.97 kB / 424.7 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.06553, allocations: 12.02 kB / 424.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.06557, allocations: 123.2 kB / 424.8 MB, free: 9.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.06557, allocations: 0 / 424.8 MB, free: 9.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003166/0.06874, allocations: 462.6 kB / 425.3 MB, free: 9.023 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01438/0.08312, allocations: 4.982 MB / 430.3 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000435/0.08356, allocations: 141.1 kB / 430.4 MB, free: 3.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.08356, allocations: 3.938 kB / 430.4 MB, free: 3.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.08366, allocations: 78.59 kB / 430.5 MB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.08412, allocations: 75.91 kB / 430.6 MB, free: 3.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.08506, allocations: 362.8 kB / 430.9 MB, free: 3.336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.095e-05/0.08512, allocations: 80.98 kB / 431 MB, free: 3.234 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.08523, allocations: 48.81 kB / 431.1 MB, free: 3.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.08541, allocations: 142.1 kB / 431.2 MB, free: 3.039 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/0.08541, allocations: 0 / 431.2 MB, free: 3.039 MB / 346.7 MB Notification: Performance of Templates: time 0.0296/0.115, allocations: 23.84 MB / 455 MB, free: 11.27 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_pTX_phX_all/R134a_pTX_phX_all.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.883004776202142]