Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001543/0.001543, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001406/0.001406, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9229/0.9229, allocations: 177 MB / 204.8 MB, free: 5.574 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.2755/0.2755, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.76e-05, allocations: 8.141 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.009819/0.009846, allocations: 8.515 MB / 387.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.02059, allocations: 12.86 MB / 400.1 MB, free: 12.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.02064, allocations: 0 / 400.1 MB, free: 12.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.02085, allocations: 39.75 kB / 400.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.02585, allocations: 2.183 MB / 402.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.859e-06/0.02586, allocations: 0 / 402.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.02595, allocations: 51.61 kB / 402.4 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.02598, allocations: 7.938 kB / 402.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.02612, allocations: 43.84 kB / 402.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.878e-05/0.02615, allocations: 19.91 kB / 402.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.02616, allocations: 4 kB / 402.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00664/0.0328, allocations: 5.882 MB / 408.3 MB, free: 4.402 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.03282, allocations: 11.91 kB / 408.4 MB, free: 4.391 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.03286, allocations: 15.94 kB / 408.4 MB, free: 4.375 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008781/0.04164, allocations: 5.068 MB / 413.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.04165, allocations: 0 / 413.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.04165, allocations: 0 / 413.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.04166, allocations: 4 kB / 413.4 MB, free: 15.3 MB / 394.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.002601/0.04426, allocations: 0.6537 MB / 414.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.0443, allocations: 8.031 kB / 414.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.04447, allocations: 35.8 kB / 414.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.04458, allocations: 108.1 kB / 414.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.0446, allocations: 3.938 kB / 414.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.04461, allocations: 8 kB / 414.3 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.04488, allocations: 98.34 kB / 414.4 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.04488, allocations: 0 / 414.4 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.04489, allocations: 4 kB / 414.4 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.0449, allocations: 3.938 kB / 414.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.04501, allocations: 67.89 kB / 414.4 MB, free: 14.24 MB / 394.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.0004286/0.04544, allocations: 343.4 kB / 414.8 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.04558, allocations: 67.03 kB / 414.8 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/0.04562, allocations: 27.62 kB / 414.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/0.04718, allocations: 0.9046 MB / 415.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.04721, allocations: 37.39 kB / 415.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.355e-06/0.04721, allocations: 0 / 415.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003533/0.04756, allocations: 125.5 kB / 415.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.04759, allocations: 55.52 kB / 416 MB, free: 12.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.04769, allocations: 161.9 kB / 416.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.0477, allocations: 29.7 kB / 416.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.04775, allocations: 134.8 kB / 416.3 MB, free: 12.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.04777, allocations: 27.78 kB / 416.3 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.04781, allocations: 31.36 kB / 416.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.04792, allocations: 0.4922 MB / 416.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/0.04796, allocations: 15.98 kB / 416.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.635e-05/0.048, allocations: 39.36 kB / 416.9 MB, free: 11.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.784e-05/0.04807, allocations: 55.31 kB / 416.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.04807, allocations: 4 kB / 417 MB, free: 11.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001456/0.04822, allocations: 97.5 kB / 417 MB, free: 11.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.04824, allocations: 4 kB / 417.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.04824, allocations: 0 / 417.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.04826, allocations: 4 kB / 417.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-05/0.04834, allocations: 15.98 kB / 417.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.04834, allocations: 0 / 417.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.04837, allocations: 11.94 kB / 417.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.04839, allocations: 8 kB / 417.1 MB, free: 11.42 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 8.061e-05/0.04847, allocations: 160.5 kB / 417.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.04851, allocations: 15.89 kB / 417.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.04882, allocations: 177.5 kB / 417.4 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.04882, allocations: 7.984 kB / 417.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.04883, allocations: 0 / 417.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.04883, allocations: 4.188 kB / 417.4 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.04897, allocations: 172.4 kB / 417.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.04897, allocations: 0 / 417.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.04902, allocations: 23.92 kB / 417.6 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.04902, allocations: 7.922 kB / 417.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.04903, allocations: 4 kB / 417.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.04904, allocations: 4 kB / 417.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.04904, allocations: 0 / 417.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.04923, allocations: 266.9 kB / 417.9 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.04925, allocations: 11.89 kB / 417.9 MB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.04926, allocations: 4 kB / 417.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.0493, allocations: 4 kB / 417.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.04934, allocations: 15.97 kB / 418 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.04935, allocations: 0 / 418 MB, free: 10.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.224e-05/0.04938, allocations: 127.2 kB / 418.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04938, allocations: 0 / 418.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001667/0.05105, allocations: 378.9 kB / 418.4 MB, free: 9.988 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.008836/0.05988, allocations: 3.629 MB / 422.1 MB, free: 6.344 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.0601, allocations: 71.61 kB / 422.1 MB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.0601, allocations: 0 / 422.1 MB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.06017, allocations: 51.83 kB / 422.2 MB, free: 6.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.06042, allocations: 24.27 kB / 422.2 MB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.06121, allocations: 266 kB / 422.5 MB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.051e-05/0.06125, allocations: 67.34 kB / 422.5 MB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.666e-05/0.06133, allocations: 47.77 kB / 422.6 MB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.06137, allocations: 20.5 kB / 422.6 MB, free: 5.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/0.06137, allocations: 0 / 422.6 MB, free: 5.75 MB / 394.7 MB Notification: Performance of Templates: time 0.01898/0.08035, allocations: 19.35 MB / 442 MB, free: 2.395 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.996244713664055]