Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.000857/0.000857, allocations: 88.28 kB / 21.44 MB, free: 3.121 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.003869/0.003869, allocations: 152.3 kB / 24.69 MB, free: 8.914 MB / 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.8545/0.8545, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.178e-05, allocations: 2.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02126/0.02128, allocations: 34.53 MB / 360.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.0392, allocations: 27.14 MB / 387.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004927/0.0397, allocations: 11.94 kB / 387.5 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009036/0.0406, allocations: 385.6 kB / 387.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007828/0.04138, allocations: 0.5511 MB / 388.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01077/0.05215, allocations: 5.351 MB / 393.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.05351, allocations: 1.378 MB / 395.1 MB, free: 9.797 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.05373, allocations: 123 kB / 395.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006962/0.05442, allocations: 0.7246 MB / 396 MB, free: 8.949 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.05478, allocations: 394.8 kB / 396.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.05483, allocations: 52 kB / 396.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/0.0682, allocations: 12.48 MB / 408.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.06841, allocations: 155.5 kB / 409 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.06876, allocations: 243.6 kB / 409.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01975/0.08851, allocations: 15.57 MB / 424.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.08852, allocations: 3.938 kB / 424.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.08852, allocations: 0 / 424.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.08853, allocations: 0 / 424.8 MB, free: 12.03 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.006154/0.09469, allocations: 1.396 MB / 426.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.09473, allocations: 11.98 kB / 426.2 MB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004461/0.09517, allocations: 99.56 kB / 426.3 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.09563, allocations: 320.4 kB / 426.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.09566, allocations: 37 kB / 426.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/0.09571, allocations: 55.88 kB / 426.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.09648, allocations: 0.8213 MB / 427.6 MB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.09649, allocations: 4 kB / 427.6 MB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.09652, allocations: 16 kB / 427.6 MB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.09653, allocations: 12 kB / 427.6 MB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.09711, allocations: 0.5307 MB / 428.1 MB, free: 8.574 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.002345/0.09946, allocations: 2.728 MB / 430.9 MB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.1, allocations: 396.8 kB / 431.2 MB, free: 5.371 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.1002, allocations: 198.2 kB / 431.4 MB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009361/0.1011, allocations: 0.6207 MB / 432.1 MB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1012, allocations: 38.94 kB / 432.1 MB, free: 4.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 2.665e-06/0.1012, allocations: 0 / 432.1 MB, free: 4.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.005116/0.1063, allocations: 1.899 MB / 434 MB, free: 2.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1063, allocations: 55.91 kB / 434 MB, free: 2.496 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1065, allocations: 277.7 kB / 434.3 MB, free: 2.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1065, allocations: 37.7 kB / 434.4 MB, free: 2.172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1066, allocations: 237 kB / 434.6 MB, free: 1.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.675e-05/0.1067, allocations: 198.3 kB / 434.8 MB, free: 1.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1068, allocations: 118.3 kB / 434.9 MB, free: 1.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.1069, allocations: 346.7 kB / 435.2 MB, free: 1.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.1071, allocations: 189.2 kB / 435.4 MB, free: 1.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.1074, allocations: 336.1 kB / 435.7 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.1079, allocations: 0.5458 MB / 436.3 MB, free: 88 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1079, allocations: 0 / 436.3 MB, free: 88 kB / 394.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007994/0.1087, allocations: 0.6674 MB / 437 MB, free: 15.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1087, allocations: 8 kB / 437 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1087, allocations: 4 kB / 437 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005296/0.114, allocations: 478.5 kB / 437.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.1143, allocations: 139.8 kB / 437.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.1155, allocations: 2.963 MB / 440.5 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.1157, allocations: 15.98 kB / 440.6 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.1157, allocations: 32 kB / 440.6 MB, free: 11.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.1158, allocations: 193.4 kB / 440.8 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1159, allocations: 43.75 kB / 440.8 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009166/0.1169, allocations: 1.075 MB / 441.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.1169, allocations: 20.17 kB / 441.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.1169, allocations: 4.062 kB / 441.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007223/0.1176, allocations: 1.11 MB / 443 MB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.1191, allocations: 1.604 MB / 444.6 MB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1191, allocations: 4 kB / 444.6 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.1193, allocations: 95.89 kB / 444.7 MB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00128/0.1206, allocations: 357 kB / 445.1 MB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.1206, allocations: 12 kB / 445.1 MB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000395/0.121, allocations: 1.152 MB / 446.2 MB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.121, allocations: 0 / 446.2 MB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009419/0.1219, allocations: 1.147 MB / 447.4 MB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.122, allocations: 39.7 kB / 447.4 MB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.122, allocations: 23.88 kB / 447.4 MB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.1222, allocations: 12 kB / 447.5 MB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.1222, allocations: 32.44 kB / 447.5 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.1223, allocations: 23.98 kB / 447.5 MB, free: 4.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002036/0.1225, allocations: 227.1 kB / 447.7 MB, free: 4.223 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1225, allocations: 192 / 447.7 MB, free: 4.223 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005134/0.1276, allocations: 0.9819 MB / 448.7 MB, free: 3.238 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.1453/0.2729, allocations: 8 MB / 456.7 MB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.2741, allocations: 0.6903 MB / 457.4 MB, free: 109.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2741, allocations: 0 / 457.4 MB, free: 109.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.2744, allocations: 351.3 kB / 457.8 MB, free: 109.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.2752, allocations: 246.4 kB / 458 MB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2765, allocations: 1.262 MB / 459.3 MB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.2766, allocations: 270.2 kB / 459.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.2767, allocations: 54.72 kB / 459.6 MB, free: 108.5 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2767, allocations: 0 / 459.6 MB, free: 108.5 MB / 410.7 MB Notification: Performance of Templates: time 0.02396/0.3006, allocations: 39.13 MB / 498.7 MB, free: 70.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.910642976872623]