Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 84.34 kB / 20.95 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3381/0.3381, allocations: 34.26 MB / 295.3 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.609e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01699/0.01702, allocations: 8.059 MB / 385.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.03608, allocations: 9.869 MB / 395.2 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.03614, allocations: 4 kB / 395.2 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.03638, allocations: 27.83 kB / 395.2 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007088/0.04347, allocations: 1.888 MB / 397.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.783e-06/0.04348, allocations: 0 / 397.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.04362, allocations: 59.53 kB / 397.2 MB, free: 15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.04366, allocations: 8 kB / 397.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.04383, allocations: 31.91 kB / 397.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.04388, allocations: 19.91 kB / 397.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.0439, allocations: 0 / 397.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01643/0.06032, allocations: 6.587 MB / 403.8 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.06035, allocations: 7.938 kB / 403.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.978e-05/0.06043, allocations: 19.92 kB / 403.9 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01633/0.07676, allocations: 5.326 MB / 409.2 MB, free: 2.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.07676, allocations: 0 / 409.2 MB, free: 2.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.07677, allocations: 7.938 kB / 409.2 MB, free: 2.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.07678, allocations: 0 / 409.2 MB, free: 2.973 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.002871/0.07965, allocations: 0.5075 MB / 409.7 MB, free: 2.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.07968, allocations: 8.031 kB / 409.7 MB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.07987, allocations: 27.89 kB / 409.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.07999, allocations: 109.2 kB / 409.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.08, allocations: 0 / 409.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.08002, allocations: 7.984 kB / 409.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.08018, allocations: 85.61 kB / 409.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.08019, allocations: 0 / 409.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.08019, allocations: 4 kB / 409.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.0802, allocations: 3.938 kB / 409.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.08034, allocations: 83.89 kB / 410 MB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.08081, allocations: 264.4 kB / 410.3 MB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/0.08089, allocations: 38.56 kB / 410.3 MB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.08094, allocations: 24.95 kB / 410.3 MB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003183/0.08413, allocations: 0.8422 MB / 411.2 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.08416, allocations: 34.56 kB / 411.2 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.08416, allocations: 4 kB / 411.2 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003192/0.08448, allocations: 121.5 kB / 411.3 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.08453, allocations: 55.39 kB / 411.4 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.08462, allocations: 97.86 kB / 411.5 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.08465, allocations: 25.7 kB / 411.5 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.08472, allocations: 92.08 kB / 411.6 MB, free: 412 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.08475, allocations: 31.73 kB / 411.6 MB, free: 380 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.08479, allocations: 17.72 kB / 411.7 MB, free: 356 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.08497, allocations: 318.8 kB / 412 MB, free: 28 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.625e-05/0.08501, allocations: 20 kB / 412 MB, free: 8 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.08509, allocations: 45.64 kB / 412 MB, free: 15.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.0852, allocations: 57.72 kB / 412.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.0852, allocations: 0 / 412.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.0854, allocations: 101.5 kB / 412.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.08541, allocations: 4 kB / 412.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.08541, allocations: 0 / 412.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.08543, allocations: 0 / 412.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.08549, allocations: 12 kB / 412.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.0855, allocations: 7.938 kB / 412.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.08553, allocations: 11.92 kB / 412.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.08555, allocations: 4 kB / 412.2 MB, free: 15.75 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.0001064/0.08565, allocations: 113.8 kB / 412.3 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.0857, allocations: 7.938 kB / 412.3 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.08599, allocations: 154 kB / 412.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001698/0.08616, allocations: 117.6 kB / 412.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.08617, allocations: 256 / 412.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.08617, allocations: 0 / 412.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.0867, allocations: 377.9 kB / 413 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.08671, allocations: 4 kB / 413 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.08677, allocations: 15.98 kB / 413 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.08677, allocations: 0 / 413 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.08679, allocations: 8 kB / 413 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.08679, allocations: 0 / 413 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.08679, allocations: 3.938 kB / 413 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.08708, allocations: 231.4 kB / 413.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.08709, allocations: 8.172 kB / 413.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.08711, allocations: 0 / 413.2 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.08718, allocations: 11.98 kB / 413.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.0872, allocations: 3.984 kB / 413.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.0872, allocations: 8 kB / 413.3 MB, free: 14.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.059e-05/0.08726, allocations: 79.28 kB / 413.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08726, allocations: 0 / 413.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001984/0.08924, allocations: 370.8 kB / 413.7 MB, free: 14.19 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.0147/0.1039, allocations: 4.143 MB / 417.8 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.1042, allocations: 106.6 kB / 418 MB, free: 9.918 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1042, allocations: 4.062 kB / 418 MB, free: 9.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.1043, allocations: 47.92 kB / 418 MB, free: 9.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.1048, allocations: 40.08 kB / 418 MB, free: 9.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.1052, allocations: 198.8 kB / 418.2 MB, free: 9.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.471e-05/0.1053, allocations: 91.47 kB / 418.3 MB, free: 9.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.711e-05/0.1053, allocations: 16.39 kB / 418.3 MB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.1054, allocations: 16.5 kB / 418.4 MB, free: 9.469 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1054, allocations: 0 / 418.4 MB, free: 9.469 MB / 394.7 MB Notification: Performance of Templates: time 0.03019/0.1356, allocations: 18.5 MB / 436.9 MB, free: 6.961 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.274215489975177]