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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001841/0.001841, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.95 kB / 306.9 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08142/0.08268, allocations: 50.53 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1805/0.2632, allocations: 37.73 MB / 395.2 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03042/0.2936, allocations: 30.65 MB / 425.8 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004894/0.2942, allocations: 10.94 kB / 425.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009996/0.2952, allocations: 408.4 kB / 426.2 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009576/0.2962, allocations: 0.5158 MB / 426.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01426/0.3104, allocations: 5.14 MB / 431.9 MB, free: 332 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001739/0.3122, allocations: 1.355 MB / 433.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.3126, allocations: 174.6 kB / 433.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.3136, allocations: 0.5371 MB / 434 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006828/0.3143, allocations: 434.3 kB / 434.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.3145, allocations: 52 kB / 434.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02447/0.3389, allocations: 12.78 MB / 447.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.3393, allocations: 155.5 kB / 447.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005752/0.3398, allocations: 330.8 kB / 447.7 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04565/0.3855, allocations: 14.91 MB / 462.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3855, allocations: 0 / 462.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3856, allocations: 0 / 462.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.3856, allocations: 0 / 462.6 MB, free: 1.562 MB / 366.1 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.01072/0.3963, allocations: 1.416 MB / 464 MB, free: 96 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.3964, allocations: 12.02 kB / 464 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.3975, allocations: 99.3 kB / 464.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.3982, allocations: 381.8 kB / 464.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.3983, allocations: 44.92 kB / 464.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-05/0.3984, allocations: 44 kB / 464.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.4001, allocations: 0.6166 MB / 465.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.4001, allocations: 7.938 kB / 465.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.4002, allocations: 20 kB / 465.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.4002, allocations: 12 kB / 465.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.4017, allocations: 0.5268 MB / 465.8 MB, free: 14.25 MB / 382.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.005606/0.4073, allocations: 3.823 MB / 469.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000921/0.4083, allocations: 411 kB / 470 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.4086, allocations: 213.5 kB / 470.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003171/0.4118, allocations: 3.459 MB / 473.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.4118, allocations: 38.94 kB / 473.7 MB, free: 5.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.485e-06/0.4118, allocations: 3.938 kB / 473.7 MB, free: 5.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009307/0.4211, allocations: 2.022 MB / 475.7 MB, free: 3.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.4212, allocations: 55.84 kB / 475.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.4215, allocations: 316.3 kB / 476.1 MB, free: 2.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.4216, allocations: 37.7 kB / 476.1 MB, free: 2.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.4218, allocations: 236.6 kB / 476.4 MB, free: 2.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.4219, allocations: 189.2 kB / 476.5 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.4221, allocations: 118.2 kB / 476.7 MB, free: 2.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.4223, allocations: 346.8 kB / 477 MB, free: 1.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.4226, allocations: 181.2 kB / 477.2 MB, free: 1.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.4231, allocations: 328.1 kB / 477.5 MB, free: 1.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000791/0.4239, allocations: 0.5551 MB / 478.1 MB, free: 0.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4239, allocations: 0 / 478.1 MB, free: 0.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001319/0.4252, allocations: 0.6696 MB / 478.7 MB, free: 20 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4252, allocations: 4 kB / 478.7 MB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.4252, allocations: 7.938 kB / 478.7 MB, free: 8 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00936/0.4346, allocations: 454.5 kB / 479.2 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.4352, allocations: 139.8 kB / 479.3 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.4373, allocations: 3.089 MB / 482.4 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.4376, allocations: 19.94 kB / 482.4 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.4377, allocations: 24 kB / 482.4 MB, free: 12.07 MB / 398.1 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.000266/0.4379, allocations: 204.7 kB / 482.6 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.4381, allocations: 43.53 kB / 482.7 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.4396, allocations: 1.052 MB / 483.7 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.4396, allocations: 15.92 kB / 483.8 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4396, allocations: 4 kB / 483.8 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/0.4408, allocations: 1.087 MB / 484.8 MB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.443, allocations: 1.734 MB / 486.6 MB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.443, allocations: 0 / 486.6 MB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.4434, allocations: 99.88 kB / 486.7 MB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003129/0.4465, allocations: 357 kB / 487 MB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.4466, allocations: 15.98 kB / 487 MB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000785/0.4474, allocations: 1.148 MB / 488.2 MB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.4474, allocations: 0 / 488.2 MB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.4491, allocations: 1.128 MB / 489.3 MB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.4493, allocations: 120.5 kB / 489.4 MB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/0.4494, allocations: 19.84 kB / 489.5 MB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.4496, allocations: 15.94 kB / 489.5 MB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.4497, allocations: 32.52 kB / 489.5 MB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.4498, allocations: 23.98 kB / 489.5 MB, free: 4.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000307/0.4501, allocations: 255 kB / 489.8 MB, free: 4.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4501, allocations: 0 / 489.8 MB, free: 4.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005808/0.456, allocations: 0.9605 MB / 490.7 MB, free: 3.527 MB / 398.1 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.04326/0.4992, allocations: 7.866 MB / 498.6 MB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.5012, allocations: 0.7396 MB / 499.3 MB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5013, allocations: 4 kB / 499.3 MB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000642/0.5019, allocations: 371.5 kB / 499.7 MB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.5034, allocations: 265.1 kB / 500 MB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.5057, allocations: 1.338 MB / 0.4896 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.5061, allocations: 0.8648 MB / 0.4904 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005609/0.5067, allocations: 240.1 kB / 0.4906 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.5068, allocations: 51.42 kB / 0.4907 GB, free: 7.727 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5068, allocations: 0 / 0.4907 GB, free: 7.727 MB / 414.1 MB Notification: Performance of Templates: time 0.05142/0.5582, allocations: 36.05 MB / 0.5259 GB, free: 3.68 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches