Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 103.3 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 48.36 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07015/0.07133, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1717/0.2431, allocations: 37.67 MB / 413.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0299/0.273, allocations: 30.6 MB / 444.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.2735, allocations: 8 kB / 444.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000937/0.2744, allocations: 409.7 kB / 444.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008898/0.2753, allocations: 0.5166 MB / 445 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01172/0.2871, allocations: 5.126 MB / 450.2 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.2884, allocations: 1.352 MB / 451.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.2887, allocations: 174.5 kB / 451.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008151/0.2895, allocations: 0.5372 MB / 452.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.2901, allocations: 434.3 kB / 452.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.084e-05/0.2902, allocations: 59.94 kB / 452.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02113/0.3113, allocations: 12.79 MB / 465.5 MB, free: 5.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.3115, allocations: 147.6 kB / 465.6 MB, free: 5.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003865/0.3119, allocations: 322.8 kB / 465.9 MB, free: 5.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02933/0.3413, allocations: 14.91 MB / 480.9 MB, free: 6.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3413, allocations: 0 / 480.9 MB, free: 6.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3413, allocations: 4 kB / 480.9 MB, free: 6.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3413, allocations: 0 / 480.9 MB, free: 6.383 MB / 398.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.00709/0.3484, allocations: 1.428 MB / 482.3 MB, free: 4.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3484, allocations: 11.89 kB / 482.3 MB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006997/0.3491, allocations: 91.41 kB / 482.4 MB, free: 4.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.3497, allocations: 393.8 kB / 482.8 MB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.3497, allocations: 37 kB / 482.8 MB, free: 4.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.628e-05/0.3498, allocations: 44 kB / 482.9 MB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.351, allocations: 0.6205 MB / 483.5 MB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.351, allocations: 11.89 kB / 483.5 MB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.3511, allocations: 20 kB / 483.5 MB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3511, allocations: 12 kB / 483.5 MB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/0.3521, allocations: 0.5229 MB / 484 MB, free: 3.066 MB / 398.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.00399/0.3561, allocations: 3.803 MB / 487.8 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009066/0.357, allocations: 411.8 kB / 488.3 MB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.3573, allocations: 225.1 kB / 488.5 MB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003036/0.3603, allocations: 3.459 MB / 491.9 MB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3604, allocations: 34.94 kB / 492 MB, free: 10.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 1.833e-06/0.3604, allocations: 0 / 492 MB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009514/0.3699, allocations: 2.029 MB / 494 MB, free: 8.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.37, allocations: 55.84 kB / 494 MB, free: 7.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.3703, allocations: 308.4 kB / 494.3 MB, free: 7.637 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.3703, allocations: 33.7 kB / 494.4 MB, free: 7.598 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3705, allocations: 240.6 kB / 494.6 MB, free: 7.359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.3706, allocations: 189.2 kB / 494.8 MB, free: 7.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.3708, allocations: 118.3 kB / 494.9 MB, free: 7.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3709, allocations: 350.8 kB / 495.3 MB, free: 6.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.3712, allocations: 177.2 kB / 495.4 MB, free: 6.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.3716, allocations: 332 kB / 495.8 MB, free: 6.141 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.3724, allocations: 0.5454 MB / 496.3 MB, free: 5.535 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.3724, allocations: 4 kB / 496.3 MB, free: 5.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001249/0.3737, allocations: 0.674 MB / 497 MB, free: 4.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3737, allocations: 8 kB / 497 MB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3737, allocations: 4 kB / 497 MB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.3843, allocations: 442 kB / 497.4 MB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.3848, allocations: 150.2 kB / 497.6 MB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.3868, allocations: 3.085 MB / 0.4889 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.3871, allocations: 16.28 kB / 0.4889 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.3871, allocations: 35.92 kB / 0.489 GB, free: 0.8906 MB / 414.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.0002153/0.3874, allocations: 190.5 kB / 0.4892 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3875, allocations: 43.44 kB / 0.4892 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.389, allocations: 1.049 MB / 0.4902 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/0.3901, allocations: 1.099 MB / 0.4913 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3901, allocations: 0 / 0.4913 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-05/0.3902, allocations: 116.5 kB / 0.4914 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.618e-05/0.3903, allocations: 15.94 kB / 0.4914 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.3906, allocations: 15.98 kB / 0.4914 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.3906, allocations: 37.27 kB / 0.4915 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001458/0.3921, allocations: 0.8013 MB / 0.4923 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001351/0.3935, allocations: 1.13 MB / 0.4934 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003856/0.3939, allocations: 304.9 kB / 0.4936 GB, free: 11.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002437/0.3941, allocations: 247 kB / 0.4939 GB, free: 11.71 MB / 430.1 MB Notification: Performance of Backend: time 3.91e-07/0.3941, allocations: 0 / 0.4939 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.04852/0.4427, allocations: 12.65 MB / 0.5062 GB, free: 15.02 MB / 446.1 MB Notification: Performance of SimCode: time 0.002069/0.4447, allocations: 1.609 MB / 0.5078 GB, free: 13.37 MB / 446.1 MB Notification: Performance of Templates: time 0.05183/0.4966, allocations: 41.72 MB / 0.5486 GB, free: 3.555 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches