Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009633/0.0009635, allocations: 95.36 kB / 17.3 MB, free: 6.344 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.001222/0.001222, allocations: 180.2 kB / 18.21 MB, free: 5.531 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.392/1.392, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004473/0.0004475, allocations: 13.62 kB / 281.4 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08244/0.0829, allocations: 47.59 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02432/0.1073, allocations: 25.72 MB / 354.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02791/0.1352, allocations: 25.23 MB / 379.9 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.1358, allocations: 4 kB / 379.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009561/0.1367, allocations: 246.7 kB / 380.1 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008299/0.1376, allocations: 354.2 kB / 380.5 MB, free: 56 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1773/0.3149, allocations: 3.236 MB / 383.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.3166, allocations: 1.393 MB / 385.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.3169, allocations: 84.61 kB / 385.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006526/0.3175, allocations: 333.7 kB / 385.5 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.3179, allocations: 306.7 kB / 385.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.318, allocations: 17.75 kB / 385.8 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03526/0.3533, allocations: 27.65 MB / 413.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.3536, allocations: 92.91 kB / 413.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004755/0.354, allocations: 228.4 kB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04628/0.4003, allocations: 20.13 MB / 433.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4004, allocations: 0 / 433.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4004, allocations: 2.734 kB / 433.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.4004, allocations: 0 / 433.9 MB, free: 10.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006101/0.4065, allocations: 1.055 MB / 435 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.4065, allocations: 12.03 kB / 435 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005073/0.407, allocations: 71.31 kB / 435.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.4074, allocations: 321.5 kB / 435.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4074, allocations: 23.22 kB / 435.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.4075, allocations: 36.94 kB / 435.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/0.4083, allocations: 463.2 kB / 435.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4083, allocations: 2.719 kB / 435.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.4083, allocations: 11.81 kB / 435.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.4084, allocations: 15.94 kB / 435.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.409, allocations: 385.8 kB / 436.3 MB, free: 7.918 MB / 350.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.003043/0.4121, allocations: 2.95 MB / 439.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.4127, allocations: 286.8 kB / 439.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.4129, allocations: 130.6 kB / 439.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002326/0.4152, allocations: 2.54 MB / 442.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.4153, allocations: 38.31 kB / 442.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.4153, allocations: 0 / 442.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005046/0.4203, allocations: 1.297 MB / 443.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4204, allocations: 59.41 kB / 443.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.4206, allocations: 265.4 kB / 443.9 MB, free: 468 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.4207, allocations: 33.58 kB / 443.9 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4208, allocations: 192 kB / 444.1 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.4209, allocations: 123.6 kB / 444.2 MB, free: 168 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.4209, allocations: 39.64 kB / 444.2 MB, free: 136 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4211, allocations: 334.1 kB / 444.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.4213, allocations: 115.3 kB / 444.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.4215, allocations: 233.8 kB / 444.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.422, allocations: 372.2 kB / 445.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.422, allocations: 4 kB / 445.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007755/0.4228, allocations: 457 kB / 445.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4228, allocations: 4 kB / 445.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4228, allocations: 4 kB / 445.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004895/0.4277, allocations: 244.9 kB / 446 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.4281, allocations: 90.22 kB / 446.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.4295, allocations: 1.845 MB / 447.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.4298, allocations: 31.92 kB / 447.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.4298, allocations: 19.98 kB / 448 MB, free: 12.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001889/0.43, allocations: 167.6 kB / 448.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.4301, allocations: 35.61 kB / 448.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009951/0.4311, allocations: 0.6885 MB / 448.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4311, allocations: 11.98 kB / 448.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.4311, allocations: 3.938 kB / 448.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007417/0.4319, allocations: 0.8576 MB / 449.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.4332, allocations: 1.192 MB / 450.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4332, allocations: 1.422 kB / 450.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.4335, allocations: 62.69 kB / 451 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/0.4351, allocations: 179.8 kB / 451.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.4352, allocations: 7.938 kB / 451.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003138/0.4355, allocations: 0.5788 MB / 451.7 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4355, allocations: 4.031 kB / 451.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/0.4363, allocations: 0.739 MB / 452.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.4364, allocations: 125.4 kB / 452.6 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.4365, allocations: 11.62 kB / 452.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.4367, allocations: 15.94 kB / 452.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.4368, allocations: 22.28 kB / 452.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.4368, allocations: 19.11 kB / 452.7 MB, free: 8.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.437, allocations: 222 kB / 452.9 MB, free: 8.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.437, allocations: 2.188 kB / 452.9 MB, free: 8.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00421/0.4412, allocations: 0.7297 MB / 453.6 MB, free: 8.027 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03421/0.4755, allocations: 6.401 MB / 460 MB, free: 1.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009934/0.4765, allocations: 482.5 kB / 460.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4765, allocations: 4.062 kB / 460.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.4769, allocations: 225.2 kB / 460.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.4781, allocations: 180.1 kB / 460.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.4796, allocations: 1.12 MB / 462 MB, free: 100 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.4799, allocations: 0.8025 MB / 462.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003969/0.4803, allocations: 202.5 kB / 463 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.4804, allocations: 43.67 kB / 463 MB, free: 15.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4804, allocations: 0 / 463 MB, free: 15.04 MB / 382.1 MB Notification: Performance of Templates: time 0.04142/0.5218, allocations: 28.52 MB / 491.6 MB, free: 2.66 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches