Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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.00117/0.00117, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005759/0.005759, allocations: 157.3 kB / 24.69 MB, free: 9.43 MB / 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 0.8763/0.8763, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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(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_4.1.0_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_4.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 4 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.318e-05, allocations: 12.61 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02279/0.02282, allocations: 34.52 MB / 360.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.04068, allocations: 27.12 MB / 387.5 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.04104, allocations: 11.94 kB / 387.5 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007891/0.04183, allocations: 385.6 kB / 387.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007546/0.04259, allocations: 0.555 MB / 388.4 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.05276, allocations: 5.347 MB / 393.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.05391, allocations: 1.378 MB / 395.2 MB, free: 9.867 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.0541, allocations: 123 kB / 395.3 MB, free: 9.746 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006267/0.05472, allocations: 0.7323 MB / 396 MB, free: 9.012 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.05505, allocations: 394.8 kB / 396.4 MB, free: 8.625 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.0551, allocations: 52 kB / 396.4 MB, free: 8.574 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01278/0.06788, allocations: 12.48 MB / 408.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.06803, allocations: 159.5 kB / 409.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.06826, allocations: 239.6 kB / 409.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01945/0.08772, allocations: 15.57 MB / 424.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.08772, allocations: 0 / 424.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.08772, allocations: 0 / 424.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.08773, allocations: 0 / 424.9 MB, free: 12.09 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.006105/0.09384, allocations: 1.391 MB / 426.3 MB, free: 10.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.09388, allocations: 11.97 kB / 426.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.09434, allocations: 103.6 kB / 426.4 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.09478, allocations: 324.3 kB / 426.7 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.09481, allocations: 37 kB / 426.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.09486, allocations: 52 kB / 426.8 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/0.09565, allocations: 0.8252 MB / 427.6 MB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.09567, allocations: 0 / 427.6 MB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.09571, allocations: 28 kB / 427.6 MB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.09572, allocations: 12 kB / 427.7 MB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.09631, allocations: 0.5229 MB / 428.2 MB, free: 8.645 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.002288/0.0986, allocations: 2.728 MB / 430.9 MB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.09918, allocations: 398.7 kB / 431.3 MB, free: 5.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.09937, allocations: 197.4 kB / 431.5 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009463/0.1003, allocations: 0.6207 MB / 432.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1003, allocations: 34.94 kB / 432.1 MB, free: 4.582 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 1.633e-06/0.1003, allocations: 0 / 432.1 MB, free: 4.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.005144/0.1055, allocations: 1.899 MB / 434 MB, free: 2.637 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1055, allocations: 59.89 kB / 434.1 MB, free: 2.566 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.1057, allocations: 281.7 kB / 434.4 MB, free: 2.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.1057, allocations: 33.7 kB / 434.4 MB, free: 2.242 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1058, allocations: 241 kB / 434.6 MB, free: 2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.823e-05/0.1059, allocations: 198.3 kB / 434.8 MB, free: 1.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.106, allocations: 118.3 kB / 434.9 MB, free: 1.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.1061, allocations: 354.7 kB / 435.3 MB, free: 1.328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.1063, allocations: 173.2 kB / 435.5 MB, free: 1.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.1066, allocations: 336.1 kB / 435.8 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.1071, allocations: 0.5458 MB / 436.3 MB, free: 164 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1071, allocations: 4 kB / 436.3 MB, free: 160 kB / 394.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008237/0.1079, allocations: 0.6675 MB / 437 MB, free: 15.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1079, allocations: 11.94 kB / 437 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1079, allocations: 4.562 kB / 437 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005266/0.1132, allocations: 470 kB / 437.5 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.1135, allocations: 147.7 kB / 437.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.115, allocations: 2.963 MB / 440.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1152, allocations: 20 kB / 440.6 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.1152, allocations: 24 kB / 440.6 MB, free: 11.66 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.0001622/0.1154, allocations: 193.6 kB / 440.8 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1155, allocations: 44.05 kB / 440.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009513/0.1164, allocations: 1.079 MB / 441.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.1164, allocations: 4 kB / 441.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1164, allocations: 4 kB / 442 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007589/0.1172, allocations: 1.114 MB / 443.1 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.1185, allocations: 1.588 MB / 444.7 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1185, allocations: 0 / 444.7 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.1187, allocations: 107.9 kB / 444.8 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/0.12, allocations: 345.1 kB / 445.1 MB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.1201, allocations: 19.98 kB / 445.1 MB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004181/0.1205, allocations: 1.155 MB / 446.3 MB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1205, allocations: 32 / 446.3 MB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.1217, allocations: 1.151 MB / 447.4 MB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.1217, allocations: 43.66 kB / 447.5 MB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1218, allocations: 15.95 kB / 447.5 MB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1219, allocations: 12 kB / 447.5 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.1219, allocations: 36.42 kB / 447.5 MB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.1219, allocations: 20.17 kB / 447.5 MB, free: 4.527 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1221, allocations: 231.1 kB / 447.8 MB, free: 4.301 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1221, allocations: 0 / 447.8 MB, free: 4.301 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003826/0.1259, allocations: 0.9818 MB / 448.8 MB, free: 3.316 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.1545/0.2804, allocations: 8.005 MB / 456.8 MB, free: 109.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.2815, allocations: 0.6903 MB / 457.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.2815, allocations: 3.391 kB / 457.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.2819, allocations: 356.2 kB / 457.8 MB, free: 109.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007334/0.2826, allocations: 238.8 kB / 458 MB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.2839, allocations: 1.253 MB / 459.3 MB, free: 108.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.284, allocations: 268.8 kB / 459.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.2841, allocations: 63.58 kB / 459.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.163e-06/0.2841, allocations: 0 / 459.6 MB, free: 108.7 MB / 410.7 MB Notification: Performance of Templates: time 0.02198/0.3061, allocations: 39.13 MB / 498.7 MB, free: 71.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 7.157353729009628]