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.001109/0.001109, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001049/0.001049, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.327/1.327, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001207/0.001207, allocations: 52.39 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08233/0.08355, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03446/0.1181, allocations: 37.65 MB / 366.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1824/0.3005, allocations: 30.6 MB / 397 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/0.3011, allocations: 8.406 kB / 397 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3022, allocations: 404.7 kB / 397.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009959/0.3032, allocations: 0.5142 MB / 397.9 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0136/0.3168, allocations: 5.135 MB / 403 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.3185, allocations: 1.36 MB / 404.4 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.3188, allocations: 167 kB / 404.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007112/0.3196, allocations: 0.5299 MB / 405.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.32, allocations: 443.4 kB / 405.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.3201, allocations: 54.28 kB / 405.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02024/0.3403, allocations: 12.8 MB / 418.4 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.3407, allocations: 152.9 kB / 418.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005011/0.3412, allocations: 324.8 kB / 418.8 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03415/0.3753, allocations: 14.91 MB / 433.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3754, allocations: 0.8125 kB / 433.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3754, allocations: 0 / 433.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.3754, allocations: 0 / 433.7 MB, free: 6.312 MB / 334.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.008226/0.3837, allocations: 1.417 MB / 435.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3837, allocations: 11.89 kB / 435.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007088/0.3845, allocations: 96.95 kB / 435.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005577/0.385, allocations: 400.5 kB / 435.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.3851, allocations: 37 kB / 435.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.3851, allocations: 44.78 kB / 435.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.3863, allocations: 0.6205 MB / 436.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.3863, allocations: 3.938 kB / 436.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/0.3864, allocations: 24.81 kB / 436.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.3864, allocations: 8 kB / 436.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.3875, allocations: 0.5238 MB / 436.9 MB, free: 3.031 MB / 334.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.004626/0.3921, allocations: 3.813 MB / 440.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/0.393, allocations: 414.6 kB / 441.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.3933, allocations: 209.3 kB / 441.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003069/0.3964, allocations: 3.458 MB / 444.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3964, allocations: 39.72 kB / 444.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.933e-06/0.3965, allocations: 0 / 444.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.00925/0.4057, allocations: 2.028 MB / 446.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.4058, allocations: 57.19 kB / 446.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.4061, allocations: 316.3 kB / 447.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.4061, allocations: 33.7 kB / 447.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.4063, allocations: 232.5 kB / 447.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.4064, allocations: 194.6 kB / 447.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.4066, allocations: 119.6 kB / 447.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4067, allocations: 350.8 kB / 448.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.407, allocations: 177.2 kB / 448.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.4074, allocations: 329.8 kB / 448.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007589/0.4082, allocations: 0.5512 MB / 449.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4082, allocations: 4 kB / 449.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001228/0.4094, allocations: 0.6707 MB / 449.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.4095, allocations: 8 kB / 449.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4095, allocations: 7.938 kB / 449.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009846/0.4193, allocations: 449.5 kB / 450.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.4199, allocations: 143.8 kB / 450.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.422, allocations: 3.083 MB / 453.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.4223, allocations: 20.03 kB / 453.5 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.4223, allocations: 35.98 kB / 453.6 MB, free: 0.9648 MB / 350.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.0002453/0.4226, allocations: 186.8 kB / 453.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.4227, allocations: 43.53 kB / 453.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.4242, allocations: 1.048 MB / 454.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.4242, allocations: 11.98 kB / 454.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.4242, allocations: 0 / 454.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/0.4254, allocations: 1.095 MB / 456 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.4275, allocations: 1.727 MB / 457.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4275, allocations: 0 / 457.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.4279, allocations: 99.89 kB / 457.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003138/0.4311, allocations: 353 kB / 458.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.4311, allocations: 20 kB / 458.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006518/0.4318, allocations: 1.141 MB / 459.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4318, allocations: 192 / 459.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.4332, allocations: 1.132 MB / 460.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.4333, allocations: 116.5 kB / 460.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.4334, allocations: 27.88 kB / 460.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.4337, allocations: 15.94 kB / 460.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.4337, allocations: 32.52 kB / 460.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.4338, allocations: 23.98 kB / 460.6 MB, free: 9.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002464/0.434, allocations: 247 kB / 460.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.434, allocations: 0 / 460.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004546/0.4386, allocations: 0.9566 MB / 461.8 MB, free: 8.469 MB / 366.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.02808/0.4667, allocations: 7.872 MB / 469.7 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.4683, allocations: 0.7156 MB / 470.4 MB, free: 24 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.4683, allocations: 4 kB / 470.4 MB, free: 20 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.4689, allocations: 365.7 kB / 470.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.4702, allocations: 264.9 kB / 471 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.4723, allocations: 1.321 MB / 472.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.4727, allocations: 0.8724 MB / 473.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.4731, allocations: 244 kB / 473.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.4732, allocations: 51.42 kB / 473.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4732, allocations: 0 / 473.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of Templates: time 0.04709/0.5203, allocations: 36.02 MB / 0.4976 GB, free: 8.832 MB / 414.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 -s gbode -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