Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001454/0.001454, allocations: 88.31 kB / 20.96 MB, free: 3.473 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.001563/0.001563, allocations: 161.7 kB / 24.27 MB, free: 168 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.512/1.512, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.357/0.357, allocations: 34.25 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.853e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01345/0.01348, allocations: 8.051 MB / 385.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01657/0.03005, allocations: 11.45 MB / 396.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.03009, allocations: 4 kB / 396.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.03031, allocations: 23.84 kB / 396.8 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006554/0.03686, allocations: 2.177 MB / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.453e-06/0.03687, allocations: 0 / 399 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.03699, allocations: 51.61 kB / 399 MB, free: 13.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.03703, allocations: 7.984 kB / 399 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.03721, allocations: 43.77 kB / 399.1 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.428e-05/0.03724, allocations: 8 kB / 399.1 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.03725, allocations: 0 / 399.1 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.04818, allocations: 5.894 MB / 405 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.0482, allocations: 11.92 kB / 405 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.04826, allocations: 8 kB / 405 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.06129, allocations: 5.075 MB / 410.1 MB, free: 2.082 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.0613, allocations: 0 / 410.1 MB, free: 2.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.0613, allocations: 0 / 410.1 MB, free: 2.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.06131, allocations: 0 / 410.1 MB, free: 2.082 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.003317/0.06462, allocations: 0.558 MB / 410.6 MB, free: 1.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.06467, allocations: 8.031 kB / 410.6 MB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.06488, allocations: 39.81 kB / 410.7 MB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.06501, allocations: 105.2 kB / 410.8 MB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.06503, allocations: 0 / 410.8 MB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.06504, allocations: 7.938 kB / 410.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.0654, allocations: 113.6 kB / 410.9 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.06541, allocations: 0 / 410.9 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.06543, allocations: 0 / 410.9 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.06544, allocations: 7.938 kB / 410.9 MB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.06584, allocations: 127.9 kB / 411 MB, free: 1.059 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.06653, allocations: 296.2 kB / 411.3 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.06684, allocations: 74.52 kB / 411.4 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.06696, allocations: 32.78 kB / 411.4 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003377/0.07034, allocations: 0.9047 MB / 412.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.07038, allocations: 30.56 kB / 412.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.07038, allocations: 0 / 412.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007265/0.0711, allocations: 157.7 kB / 412.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.07115, allocations: 51.41 kB / 412.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.07125, allocations: 105.8 kB / 412.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.07127, allocations: 25.7 kB / 412.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.07134, allocations: 92.03 kB / 412.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.07137, allocations: 27.78 kB / 412.8 MB, free: 15.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.07143, allocations: 29.7 kB / 412.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.07162, allocations: 311 kB / 413.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.07173, allocations: 39.84 kB / 413.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.07186, allocations: 45.77 kB / 413.2 MB, free: 14.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.07208, allocations: 65.69 kB / 413.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.07208, allocations: 0 / 413.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003421/0.07243, allocations: 109.5 kB / 413.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.07244, allocations: 4 kB / 413.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.07245, allocations: 0 / 413.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.07247, allocations: 4.031 kB / 413.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.07259, allocations: 23.98 kB / 413.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.07259, allocations: 0 / 413.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.511e-05/0.07266, allocations: 7.953 kB / 413.4 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.07267, allocations: 7.984 kB / 413.4 MB, free: 14.52 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001042/0.07278, allocations: 117.7 kB / 413.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.07284, allocations: 7.938 kB / 413.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/0.07339, allocations: 265.4 kB / 413.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.07339, allocations: 0 / 413.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.0734, allocations: 0 / 413.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.0734, allocations: 4 kB / 413.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.07364, allocations: 169.3 kB / 414 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.07364, allocations: 0 / 414 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.682e-05/0.07374, allocations: 19.98 kB / 414 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.07374, allocations: 15.88 kB / 414 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.07375, allocations: 0 / 414 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.07375, allocations: 0 / 414 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.07376, allocations: 0 / 414 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.07418, allocations: 269.8 kB / 414.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.0742, allocations: 11.89 kB / 414.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.07422, allocations: 4 kB / 414.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.07431, allocations: 4 kB / 414.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.07436, allocations: 11.97 kB / 414.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.07438, allocations: 12 kB / 414.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.07444, allocations: 79.28 kB / 414.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07444, allocations: 0 / 414.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002215/0.07665, allocations: 374.9 kB / 414.8 MB, free: 13.12 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: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.01438/0.09104, allocations: 3.634 MB / 418.4 MB, free: 9.473 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004384/0.09148, allocations: 87.95 kB / 418.5 MB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.09148, allocations: 0 / 418.5 MB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.09164, allocations: 59.91 kB / 418.6 MB, free: 9.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.09201, allocations: 28.36 kB / 418.6 MB, free: 9.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/0.09262, allocations: 248.5 kB / 418.8 MB, free: 9.031 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.09272, allocations: 79.33 kB / 418.9 MB, free: 8.934 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.09285, allocations: 47.83 kB / 419 MB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.09291, allocations: 24.48 kB / 419 MB, free: 8.863 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.09291, allocations: 0 / 419 MB, free: 8.863 MB / 394.7 MB Notification: Performance of Templates: time 0.02719/0.1201, allocations: 16.47 MB / 435.4 MB, free: 8.383 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.121689343010075]