Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001466/0.001466, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001649/0.001649, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 43.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2796, allocations: 49.44 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02768/0.3073, allocations: 26.59 MB / 427.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02656/0.334, allocations: 24.86 MB / 452.2 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.3345, allocations: 4 kB / 452.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009259/0.3354, allocations: 294.3 kB / 452.5 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008415/0.3363, allocations: 365.9 kB / 452.8 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.3468, allocations: 4.017 MB / 456.8 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.348, allocations: 0.9425 MB / 457.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.3482, allocations: 113 kB / 457.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005308/0.3487, allocations: 390.6 kB / 458.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000358/0.3491, allocations: 294.9 kB / 458.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.3492, allocations: 36 kB / 458.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01854/0.3677, allocations: 10.43 MB / 469 MB, free: 4.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.368, allocations: 103.7 kB / 469.1 MB, free: 4.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.3683, allocations: 227.2 kB / 469.4 MB, free: 4.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03172/0.4001, allocations: 11.48 MB / 480.8 MB, free: 8.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4001, allocations: 0 / 480.8 MB, free: 8.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4001, allocations: 0 / 480.8 MB, free: 8.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.4001, allocations: 3.938 kB / 480.8 MB, free: 8.527 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.005606/0.4057, allocations: 1.135 MB / 482 MB, free: 7.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4058, allocations: 12.03 kB / 482 MB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005486/0.4063, allocations: 71.59 kB / 482.1 MB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.4068, allocations: 326.8 kB / 482.4 MB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.4068, allocations: 24.66 kB / 482.4 MB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.4069, allocations: 32 kB / 482.4 MB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000885/0.4078, allocations: 471.7 kB / 482.9 MB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.4078, allocations: 0 / 482.9 MB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.4079, allocations: 12 kB / 482.9 MB, free: 6.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.4079, allocations: 12 kB / 482.9 MB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.4086, allocations: 386.3 kB / 483.3 MB, free: 5.945 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.003219/0.4118, allocations: 2.949 MB / 486.2 MB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/0.4125, allocations: 289.2 kB / 486.5 MB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.4127, allocations: 144.7 kB / 486.7 MB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002213/0.4149, allocations: 2.466 MB / 489.1 MB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4149, allocations: 38.56 kB / 489.2 MB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.4149, allocations: 0 / 489.2 MB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005203/0.4201, allocations: 1.297 MB / 490.5 MB, free: 13.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.4202, allocations: 55.41 kB / 490.5 MB, free: 13.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.4205, allocations: 262.5 kB / 490.8 MB, free: 13.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.4205, allocations: 33.7 kB / 490.8 MB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.4206, allocations: 184.2 kB / 491 MB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/0.4207, allocations: 126.1 kB / 491.1 MB, free: 13.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.4209, allocations: 86.12 kB / 491.2 MB, free: 13.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.421, allocations: 334.8 kB / 491.5 MB, free: 12.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.4212, allocations: 116.8 kB / 491.6 MB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.4214, allocations: 226 kB / 491.9 MB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.4219, allocations: 373.5 kB / 492.2 MB, free: 12.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.422, allocations: 0 / 492.2 MB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008126/0.4228, allocations: 462.9 kB / 492.7 MB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4228, allocations: 8 kB / 492.7 MB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.4228, allocations: 4 kB / 492.7 MB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00471/0.4275, allocations: 233.4 kB / 492.9 MB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.4279, allocations: 91.83 kB / 493 MB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.4292, allocations: 1.951 MB / 495 MB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.4294, allocations: 12 kB / 495 MB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.4295, allocations: 23.92 kB / 495 MB, free: 9.082 MB / 414.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.000177/0.4297, allocations: 161.8 kB / 495.1 MB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.4298, allocations: 31.66 kB / 495.2 MB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.4308, allocations: 0.6929 MB / 495.9 MB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4308, allocations: 11.98 kB / 495.9 MB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.4308, allocations: 4 kB / 495.9 MB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008005/0.4316, allocations: 0.8524 MB / 496.7 MB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.433, allocations: 1.191 MB / 497.9 MB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.433, allocations: 0 / 497.9 MB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.4333, allocations: 59.91 kB / 498 MB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001584/0.4349, allocations: 188.4 kB / 498.2 MB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.4349, allocations: 8 kB / 498.2 MB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003445/0.4353, allocations: 0.5758 MB / 498.8 MB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4353, allocations: 3.938 kB / 498.8 MB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000926/0.4362, allocations: 0.7233 MB / 499.5 MB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.178e-05/0.4363, allocations: 112.7 kB / 499.6 MB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.4364, allocations: 11.91 kB / 499.6 MB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.4366, allocations: 4 kB / 499.6 MB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.4366, allocations: 27.91 kB / 499.6 MB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.4366, allocations: 12.16 kB / 499.6 MB, free: 4.188 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002206/0.4369, allocations: 225.9 kB / 499.9 MB, free: 3.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4369, allocations: 0 / 499.9 MB, free: 3.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00418/0.4411, allocations: 0.7379 MB / 0.4889 GB, free: 3.227 MB / 414.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.02391/0.465, allocations: 6.398 MB / 0.4951 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009732/0.466, allocations: 499 kB / 0.4956 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.466, allocations: 0 / 0.4956 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.4664, allocations: 220.3 kB / 0.4958 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4675, allocations: 176.8 kB / 0.496 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.4689, allocations: 0.8948 MB / 0.4968 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.4692, allocations: 0.809 MB / 0.4976 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.4696, allocations: 191.6 kB / 0.4978 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.4697, allocations: 39.38 kB / 0.4979 GB, free: 9.941 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4697, allocations: 0 / 0.4979 GB, free: 9.941 MB / 430.1 MB Notification: Performance of Templates: time 0.03879/0.5085, allocations: 29.04 MB / 0.5262 GB, free: 12.94 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches