Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.001323/0.001323, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 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.001453/0.001453, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 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.447/1.447, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.91 kB / 379 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.306, allocations: 53.4 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03262/0.3386, allocations: 27.07 MB / 459.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.029/0.3676, allocations: 25.08 MB / 484.6 MB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.3681, allocations: 11.88 kB / 484.6 MB, free: 2.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009212/0.369, allocations: 314.3 kB / 484.9 MB, free: 2.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008161/0.3698, allocations: 381.9 kB / 485.3 MB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01206/0.3819, allocations: 4.123 MB / 489.4 MB, free: 13.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.3834, allocations: 0.962 MB / 490.4 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.3837, allocations: 77.23 kB / 490.4 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000927/0.3846, allocations: 402.6 kB / 490.8 MB, free: 12.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.3852, allocations: 314.7 kB / 491.1 MB, free: 11.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.3853, allocations: 40 kB / 491.2 MB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02014/0.4055, allocations: 10.55 MB / 0.49 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.4057, allocations: 111.6 kB / 0.4901 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.4061, allocations: 227.1 kB / 0.4903 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0293/0.4354, allocations: 11.5 MB / 0.5015 GB, free: 5.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.4354, allocations: 4 kB / 0.5015 GB, free: 5.402 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4354, allocations: 4 kB / 0.5015 GB, free: 5.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.4354, allocations: 0 / 0.5015 GB, free: 5.398 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006727/0.4422, allocations: 1.109 MB / 0.5026 GB, free: 4.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4422, allocations: 12.03 kB / 0.5026 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/0.4429, allocations: 71.67 kB / 0.5027 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.4436, allocations: 264.6 kB / 0.5029 GB, free: 3.887 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.4436, allocations: 24.66 kB / 0.503 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.4437, allocations: 32 kB / 0.503 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.4447, allocations: 467.7 kB / 0.5034 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.4447, allocations: 4 kB / 0.5035 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.4447, allocations: 16 kB / 0.5035 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.4448, allocations: 8 kB / 0.5035 GB, free: 3.312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.4456, allocations: 386.3 kB / 0.5038 GB, free: 2.934 MB / 414.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.004077/0.4497, allocations: 2.818 MB / 0.5066 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.4504, allocations: 281.8 kB / 0.5069 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.4506, allocations: 125.6 kB / 0.507 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/0.4521, allocations: 467.5 kB / 0.5074 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.4521, allocations: 30.56 kB / 0.5075 GB, free: 15.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.665e-06/0.4521, allocations: 0 / 0.5075 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005827/0.458, allocations: 1.167 MB / 0.5086 GB, free: 13.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.458, allocations: 59.34 kB / 0.5087 GB, free: 13.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.4583, allocations: 257.9 kB / 0.5089 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.4584, allocations: 29.7 kB / 0.5089 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.4585, allocations: 200.4 kB / 0.5091 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.4586, allocations: 126.9 kB / 0.5092 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.4588, allocations: 82.08 kB / 0.5093 GB, free: 13.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4589, allocations: 338.8 kB / 0.5096 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.4591, allocations: 116.8 kB / 0.5098 GB, free: 12.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.4595, allocations: 222.1 kB / 0.51 GB, free: 12.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/0.46, allocations: 385.4 kB / 0.5103 GB, free: 11.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.46, allocations: 0 / 0.5103 GB, free: 11.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009976/0.461, allocations: 458.7 kB / 0.5108 GB, free: 11.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.4611, allocations: 10.34 kB / 0.5108 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4611, allocations: 4.438 kB / 0.5108 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006123/0.4672, allocations: 249.4 kB / 0.511 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.4676, allocations: 87.89 kB / 0.5111 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.4694, allocations: 1.843 MB / 0.5129 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.4697, allocations: 16.06 kB / 0.5129 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.4698, allocations: 28.17 kB / 0.5129 GB, free: 9.043 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002614/0.47, allocations: 161.9 kB / 0.5131 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.4702, allocations: 35.75 kB / 0.5131 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.4715, allocations: 0.7049 MB / 0.5138 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.4715, allocations: 4 kB / 0.5138 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.4715, allocations: 0 / 0.5138 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/0.4725, allocations: 0.8867 MB / 0.5147 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.4743, allocations: 1.179 MB / 0.5158 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.4743, allocations: 0 / 0.5158 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.4746, allocations: 67.84 kB / 0.5159 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001741/0.4763, allocations: 184.5 kB / 0.5161 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.4764, allocations: 4 kB / 0.5161 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004987/0.4769, allocations: 0.5797 MB / 0.5167 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4769, allocations: 3.938 kB / 0.5167 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.478, allocations: 0.7498 MB / 0.5174 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.72e-05/0.4781, allocations: 35.73 kB / 0.5174 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/0.4781, allocations: 8 kB / 0.5174 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.4783, allocations: 8 kB / 0.5174 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.4784, allocations: 23.89 kB / 0.5175 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.4784, allocations: 19.98 kB / 0.5175 GB, free: 4.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.4787, allocations: 227 kB / 0.5177 GB, free: 3.965 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4787, allocations: 0 / 0.5177 GB, free: 3.965 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004777/0.4835, allocations: 0.752 MB / 0.5184 GB, free: 3.211 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02701/0.5105, allocations: 6.41 MB / 0.5247 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.5117, allocations: 467.8 kB / 0.5251 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5117, allocations: 0 / 0.5251 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004915/0.5122, allocations: 227.7 kB / 0.5254 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.5134, allocations: 184.2 kB / 0.5255 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.5153, allocations: 0.9456 MB / 0.5265 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.5158, allocations: 0.8052 MB / 0.5272 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.516, allocations: 43.44 kB / 0.5273 GB, free: 10.05 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.516, allocations: 0 / 0.5273 GB, free: 10.05 MB / 446.1 MB Notification: Performance of Templates: time 0.2612/0.7772, allocations: 29.37 MB / 0.556 GB, free: 87.57 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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: 11.0346345519647]