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.006562/0.006562, allocations: 169.8 kB / 15.12 MB, free: 5.559 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.735/1.735, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001022/0.001022, allocations: 82.89 kB / 269.6 MB, free: 13.35 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.8227/0.8227, allocations: 90.59 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 8 kB / 485.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4169, allocations: 66.27 MB / 0.5386 GB, free: 45.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1598/0.5767, allocations: 124.5 MB / 0.6602 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003512/0.5803, allocations: 2.591 MB / 0.6627 GB, free: 12.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.5806, allocations: 11.94 kB / 0.6627 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.5812, allocations: 171.1 kB / 0.6629 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008313/0.5821, allocations: 370.8 kB / 0.6632 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008715/0.5829, allocations: 323.2 kB / 0.6635 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.5835, allocations: 392.5 kB / 0.6639 GB, free: 11.32 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.5837, allocations: 97.22 kB / 0.664 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007781/0.5845, allocations: 358.8 kB / 0.6643 GB, free: 10.88 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.5848, allocations: 219.2 kB / 0.6646 GB, free: 10.67 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.5848, allocations: 12 kB / 0.6646 GB, free: 10.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.5859, allocations: 0.5383 MB / 0.6651 GB, free: 10.12 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.5859, allocations: 47.77 kB / 0.6651 GB, free: 10.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.797e-05/0.586, allocations: 93.52 kB / 0.6652 GB, free: 9.973 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.5866, allocations: 397.9 kB / 0.6656 GB, free: 9.594 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.5866, allocations: 4 kB / 0.6656 GB, free: 9.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5866, allocations: 0 / 0.6656 GB, free: 9.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.5866, allocations: 0 / 0.6656 GB, free: 9.59 MB / 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.001173/0.5878, allocations: 0.6549 MB / 0.6663 GB, free: 8.891 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5879, allocations: 8.031 kB / 0.6663 GB, free: 8.883 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.648e-05/0.5879, allocations: 39.53 kB / 0.6663 GB, free: 8.844 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.5883, allocations: 287.4 kB / 0.6666 GB, free: 8.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.5883, allocations: 12.56 kB / 0.6666 GB, free: 8.508 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.5884, allocations: 32 kB / 0.6666 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.5889, allocations: 303.7 kB / 0.6669 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.589, allocations: 0 / 0.6669 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.589, allocations: 8 kB / 0.6669 GB, free: 8.156 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.589, allocations: 8 kB / 0.6669 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/0.5895, allocations: 216.2 kB / 0.6671 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.5913, allocations: 1.558 MB / 0.6686 GB, free: 6.195 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.5918, allocations: 243.9 kB / 0.6689 GB, free: 5.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/0.5926, allocations: 478.3 kB / 0.6693 GB, free: 5.371 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.5926, allocations: 39.88 kB / 0.6694 GB, free: 5.324 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 1.893e-06/0.5926, allocations: 0 / 0.6694 GB, free: 5.324 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.001181/0.5938, allocations: 0.7611 MB / 0.6701 GB, free: 4.461 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.5939, allocations: 106.8 kB / 0.6702 GB, free: 4.332 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.5942, allocations: 292.5 kB / 0.6705 GB, free: 4.043 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.5942, allocations: 29.7 kB / 0.6705 GB, free: 4.008 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.5943, allocations: 193.8 kB / 0.6707 GB, free: 3.812 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/0.5944, allocations: 86.75 kB / 0.6708 GB, free: 3.727 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.5944, allocations: 4 kB / 0.6708 GB, free: 3.723 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5946, allocations: 346.8 kB / 0.6711 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.5948, allocations: 84.2 kB / 0.6712 GB, free: 3.293 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.595, allocations: 152.1 kB / 0.6714 GB, free: 3.117 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.5953, allocations: 111.1 kB / 0.6715 GB, free: 3.012 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5953, allocations: 0 / 0.6715 GB, free: 3.012 MB / 490.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006166/0.5959, allocations: 329.8 kB / 0.6718 GB, free: 2.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.5959, allocations: 7.953 kB / 0.6718 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.596, allocations: 4 kB / 0.6718 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/0.5962, allocations: 29.03 kB / 0.6718 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.5964, allocations: 52.72 kB / 0.6719 GB, free: 2.586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.5975, allocations: 1.293 MB / 0.6731 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.5977, allocations: 35.77 kB / 0.6732 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.5978, allocations: 8 kB / 0.6732 GB, free: 1.121 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0001716/0.598, allocations: 146 kB / 0.6733 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.5981, allocations: 37.55 kB / 0.6733 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006811/0.5987, allocations: 318.2 kB / 0.6736 GB, free: 0.625 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.5988, allocations: 4 kB / 0.6737 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5988, allocations: 0 / 0.6737 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5988, allocations: 5.609 kB / 0.6737 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004985/0.5993, allocations: 349.3 kB / 0.674 GB, free: 232 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5993, allocations: 3.953 kB / 0.674 GB, free: 228 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.5995, allocations: 47.91 kB / 0.674 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.464e-05/0.5996, allocations: 20.84 kB / 0.6741 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.5996, allocations: 4 kB / 0.6741 GB, free: 152 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009978/0.6006, allocations: 1.307 MB / 0.6753 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6006, allocations: 0 / 0.6753 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008665/0.6015, allocations: 0.6334 MB / 0.676 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.6016, allocations: 120.6 kB / 0.6761 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.6016, allocations: 11.95 kB / 0.6761 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.6019, allocations: 19.83 kB / 0.6761 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.602, allocations: 19.98 kB / 0.6761 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.602, allocations: 11.98 kB / 0.6761 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001986/0.6022, allocations: 203.1 kB / 0.6763 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6022, allocations: 0 / 0.6763 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005146/0.6027, allocations: 110.5 kB / 0.6764 GB, free: 13.55 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.0003147/0.603, allocations: 190.9 kB / 0.6766 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007573/0.6038, allocations: 377.7 kB / 0.677 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6038, allocations: 0 / 0.677 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004197/0.6043, allocations: 256.6 kB / 0.6772 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.6049, allocations: 76.23 kB / 0.6773 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.6062, allocations: 0.8937 MB / 0.6782 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.6066, allocations: 0.7911 MB / 0.6789 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.6068, allocations: 47.94 kB / 0.679 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.6068, allocations: 23.44 kB / 0.679 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.6068, allocations: 3.938 kB / 0.679 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.01097/0.6178, allocations: 5.237 MB / 0.6841 GB, free: 5.73 MB / 0.4948 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