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.00164/0.00164, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002102/0.002102, allocations: 205.1 kB / 24.47 MB, free: 3.699 MB / 14.72 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 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.2323/0.2323, allocations: 46.97 MB / 361.6 MB, free: 4.031 MB / 286.1 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_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 0.00197/0.00197, allocations: 67.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4179, allocations: 66.03 MB / 0.5618 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01275/0.4306, allocations: 8.061 MB / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.4452, allocations: 11.46 MB / 0.5809 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.4453, allocations: 0 / 0.5809 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.4455, allocations: 39.77 kB / 0.5809 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007029/0.4525, allocations: 2.134 MB / 0.583 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.238e-06/0.4525, allocations: 0 / 0.583 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.4527, allocations: 59.61 kB / 0.583 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.517e-05/0.4527, allocations: 3.984 kB / 0.583 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.4529, allocations: 31.86 kB / 0.5831 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.4529, allocations: 19.86 kB / 0.5831 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.4529, allocations: 0 / 0.5831 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/0.4649, allocations: 6.012 MB / 0.589 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.4649, allocations: 3.984 kB / 0.589 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.091e-05/0.465, allocations: 11.94 kB / 0.589 GB, free: 8.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.4787, allocations: 4.795 MB / 0.5937 GB, free: 3.578 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.4787, allocations: 4 kB / 0.5937 GB, free: 3.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.4787, allocations: 0 / 0.5937 GB, free: 3.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.4787, allocations: 0 / 0.5937 GB, free: 3.574 MB / 430.1 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.004316/0.4831, allocations: 0.5579 MB / 0.5942 GB, free: 2.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.4831, allocations: 8.031 kB / 0.5942 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.4833, allocations: 19.92 kB / 0.5942 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4834, allocations: 101.2 kB / 0.5943 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.4834, allocations: 7.938 kB / 0.5943 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.4834, allocations: 8 kB / 0.5944 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.4838, allocations: 117.6 kB / 0.5945 GB, free: 2.695 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4839, allocations: 3.938 kB / 0.5945 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.4839, allocations: 7.984 kB / 0.5945 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4839, allocations: 0 / 0.5945 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.4843, allocations: 127.9 kB / 0.5946 GB, free: 2.559 MB / 430.1 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.0007382/0.485, allocations: 300.2 kB / 0.5949 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.4853, allocations: 70.53 kB / 0.595 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.4854, allocations: 32.84 kB / 0.595 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003461/0.4889, allocations: 0.8623 MB / 0.5958 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.4889, allocations: 38.56 kB / 0.5959 GB, free: 1.211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.4889, allocations: 0 / 0.5959 GB, free: 1.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006948/0.4896, allocations: 145.5 kB / 0.596 GB, free: 1.062 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.4896, allocations: 63.41 kB / 0.5961 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.4898, allocations: 97.81 kB / 0.5962 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4898, allocations: 25.7 kB / 0.5962 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.4898, allocations: 96.02 kB / 0.5963 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.4899, allocations: 15.86 kB / 0.5963 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-05/0.4899, allocations: 29.7 kB / 0.5963 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4901, allocations: 314.8 kB / 0.5966 GB, free: 396 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.4902, allocations: 27.98 kB / 0.5966 GB, free: 368 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4903, allocations: 41.69 kB / 0.5967 GB, free: 320 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.4906, allocations: 73.73 kB / 0.5968 GB, free: 240 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4906, allocations: 3.938 kB / 0.5968 GB, free: 236 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003247/0.4909, allocations: 97.64 kB / 0.5968 GB, free: 132 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4909, allocations: 8 kB / 0.5969 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4909, allocations: 0 / 0.5969 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4909, allocations: 0 / 0.5969 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4911, allocations: 31.95 kB / 0.5969 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4911, allocations: 0 / 0.5969 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.175e-05/0.4911, allocations: 11.89 kB / 0.5969 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.4911, allocations: 4 kB / 0.5969 GB, free: 76 kB / 430.1 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.0001395/0.4913, allocations: 113.8 kB / 0.597 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.4913, allocations: 7.984 kB / 0.597 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005605/0.4919, allocations: 253.4 kB / 0.5973 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.4919, allocations: 7.938 kB / 0.5973 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4919, allocations: 0 / 0.5973 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4919, allocations: 0 / 0.5973 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.4922, allocations: 173.1 kB / 0.5974 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4922, allocations: 0 / 0.5974 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.4923, allocations: 23.98 kB / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4923, allocations: 0 / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4923, allocations: 4 kB / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4923, allocations: 4 kB / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4923, allocations: 0 / 0.5975 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.4927, allocations: 261.8 kB / 0.5977 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.4927, allocations: 7.953 kB / 0.5977 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.4927, allocations: 7.922 kB / 0.5977 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.4928, allocations: 8.188 kB / 0.5977 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.4928, allocations: 7.984 kB / 0.5977 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.4929, allocations: 11.97 kB / 0.5978 GB, free: 15.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.638e-05/0.4929, allocations: 83.28 kB / 0.5978 GB, free: 15.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4929, allocations: 0 / 0.5978 GB, free: 15.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003016/0.4959, allocations: 374.9 kB / 0.5982 GB, free: 14.7 MB / 446.1 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.01325/0.5092, allocations: 3.569 MB / 0.6017 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004756/0.5097, allocations: 87.89 kB / 0.6018 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5097, allocations: 4 kB / 0.6018 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.5098, allocations: 55.97 kB / 0.6018 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.5103, allocations: 28.06 kB / 0.6018 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.511, allocations: 288 kB / 0.6021 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.5111, allocations: 83.08 kB / 0.6022 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.5112, allocations: 19.44 kB / 0.6022 GB, free: 10.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5112, allocations: 0 / 0.6022 GB, free: 10.5 MB / 446.1 MB Notification: Performance of Templates: time 0.02769/0.5389, allocations: 16.92 MB / 0.6187 GB, free: 9.555 MB / 462.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins1/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: 9.227358664007625]