Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008028/0.008028, allocations: 169.5 kB / 15.13 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 221.3 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007499/0.00075, allocations: 94.28 kB / 269.6 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6603/0.6603, allocations: 90.6 MB / 408.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002963, allocations: 8 kB / 485.3 MB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2937, allocations: 66.28 MB / 0.5386 GB, free: 45.56 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1343/0.428, allocations: 133.4 MB / 0.6688 GB, free: 6.254 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.4313, allocations: 2.905 MB / 0.6717 GB, free: 3.344 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.4316, allocations: 7.938 kB / 0.6717 GB, free: 3.336 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.4321, allocations: 171 kB / 0.6718 GB, free: 3.168 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006325/0.4328, allocations: 373.8 kB / 0.6722 GB, free: 2.801 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.4334, allocations: 302.7 kB / 0.6725 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.434, allocations: 0.7002 MB / 0.6732 GB, free: 1.801 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.4342, allocations: 95.36 kB / 0.6733 GB, free: 1.711 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.4349, allocations: 358.4 kB / 0.6736 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.4352, allocations: 274.9 kB / 0.6739 GB, free: 1.09 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.4353, allocations: 12 kB / 0.6739 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007826/0.4361, allocations: 0.512 MB / 0.6744 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.4361, allocations: 43.77 kB / 0.6744 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.4362, allocations: 93.52 kB / 0.6745 GB, free: 436 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.4366, allocations: 413 kB / 0.6749 GB, free: 24 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4367, allocations: 0 / 0.6749 GB, free: 24 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4367, allocations: 0 / 0.6749 GB, free: 24 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4367, allocations: 0 / 0.6749 GB, free: 24 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001072/0.4378, allocations: 0.6472 MB / 0.6755 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4378, allocations: 16.02 kB / 0.6756 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.516e-05/0.4379, allocations: 39.53 kB / 0.6756 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.4382, allocations: 286.2 kB / 0.6759 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.4382, allocations: 16.56 kB / 0.6759 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.4383, allocations: 25.5 kB / 0.6759 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.4388, allocations: 315.7 kB / 0.6762 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4389, allocations: 0 / 0.6762 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.4389, allocations: 9.969 kB / 0.6762 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.4389, allocations: 8 kB / 0.6762 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.4394, allocations: 213.6 kB / 0.6764 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.4411, allocations: 1.556 MB / 0.6779 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.4416, allocations: 260.6 kB / 0.6782 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.4418, allocations: 102.7 kB / 0.6783 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000619/0.4424, allocations: 473.4 kB / 0.6787 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.4425, allocations: 34.56 kB / 0.6788 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.4425, allocations: 0 / 0.6788 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.000983/0.4435, allocations: 466.5 kB / 0.6792 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.4435, allocations: 106.8 kB / 0.6793 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.4438, allocations: 292.5 kB / 0.6796 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.4438, allocations: 25.7 kB / 0.6796 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.444, allocations: 204 kB / 0.6798 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.444, allocations: 78.77 kB / 0.6799 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.4441, allocations: 0 / 0.6799 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4442, allocations: 346.8 kB / 0.6802 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.4444, allocations: 92.19 kB / 0.6803 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.4446, allocations: 150.3 kB / 0.6805 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.4448, allocations: 102.5 kB / 0.6806 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4448, allocations: 0 / 0.6806 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005851/0.4454, allocations: 330.7 kB / 0.6809 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4454, allocations: 7.953 kB / 0.6809 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4455, allocations: 0 / 0.6809 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.4456, allocations: 24.97 kB / 0.6809 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.4458, allocations: 55.91 kB / 0.681 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008821/0.4467, allocations: 1.285 MB / 0.6822 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.4469, allocations: 35.8 kB / 0.6822 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.4469, allocations: 12.81 kB / 0.6823 GB, free: 7.836 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.4471, allocations: 145.9 kB / 0.6824 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4472, allocations: 39.56 kB / 0.6824 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.4478, allocations: 317.6 kB / 0.6827 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.4479, allocations: 0 / 0.6827 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4479, allocations: 4 kB / 0.6827 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4479, allocations: 0 / 0.6827 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.4483, allocations: 354.9 kB / 0.6831 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4483, allocations: 7.953 kB / 0.6831 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.4485, allocations: 35.92 kB / 0.6831 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.423e-05/0.4486, allocations: 24.84 kB / 0.6831 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.4486, allocations: 11.98 kB / 0.6832 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000801/0.4495, allocations: 1.287 MB / 0.6844 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4495, allocations: 3.75 kB / 0.6844 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007822/0.4503, allocations: 0.6311 MB / 0.685 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.199e-05/0.4503, allocations: 112.7 kB / 0.6851 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.4504, allocations: 4 kB / 0.6851 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.4506, allocations: 23.83 kB / 0.6852 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.4507, allocations: 19.94 kB / 0.6852 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.4507, allocations: 11.98 kB / 0.6852 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001772/0.4509, allocations: 203.1 kB / 0.6854 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.393e-06/0.4509, allocations: 0 / 0.6854 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004324/0.4513, allocations: 111.8 kB / 0.6855 GB, free: 4.293 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002625/0.4516, allocations: 194.4 kB / 0.6857 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006816/0.4523, allocations: 377.8 kB / 0.686 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4523, allocations: 0 / 0.686 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.4527, allocations: 261.8 kB / 0.6863 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.4534, allocations: 79.98 kB / 0.6864 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.4547, allocations: 0.9147 MB / 0.6873 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.4551, allocations: 0.7833 MB / 0.688 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.4553, allocations: 49.27 kB / 0.6881 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.4553, allocations: 27.44 kB / 0.6881 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.4553, allocations: 0 / 0.6881 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of Templates: time 0.009616/0.4649, allocations: 5.256 MB / 0.6932 GB, free: 12.43 MB / 0.5105 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches