Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008648/0.0008648, allocations: 91.42 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7691/0.7691, allocations: 90.36 MB / 399.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.362e-05/1.369e-05, allocations: 3.938 kB / 472.2 MB, free: 3.441 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3688, allocations: 66.25 MB / 0.5258 GB, free: 29.08 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.476, allocations: 444.7 MB / 0.9601 GB, free: 210.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/1.476, allocations: 95.09 kB / 0.9602 GB, free: 210.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.837/3.313, allocations: 0.5838 GB / 1.544 GB, free: 57.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.994e-06/3.313, allocations: 0 / 1.544 GB, free: 57.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001587/3.313, allocations: 66.2 kB / 1.544 GB, free: 57.51 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.007748/3.321, allocations: 2.792 MB / 1.547 GB, free: 55.96 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/3.321, allocations: 7.344 kB / 1.547 GB, free: 55.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/3.322, allocations: 286.5 kB / 1.547 GB, free: 55.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/3.324, allocations: 1.152 MB / 1.548 GB, free: 55.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/3.324, allocations: 72.41 kB / 1.548 GB, free: 55.13 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/3.325, allocations: 134 kB / 1.548 GB, free: 55.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00317/3.328, allocations: 2.089 MB / 1.55 GB, free: 54.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/3.331, allocations: 2.105 MB / 1.552 GB, free: 53.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/3.331, allocations: 0 / 1.552 GB, free: 53.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/3.331, allocations: 6.438 kB / 1.552 GB, free: 53.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-05/3.332, allocations: 62.92 kB / 1.553 GB, free: 53.42 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/3.344, allocations: 11.71 MB / 1.564 GB, free: 42.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/3.347, allocations: 2.419 MB / 1.566 GB, free: 41.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/3.348, allocations: 0.9936 MB / 1.567 GB, free: 40.81 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00787/3.356, allocations: 6.555 MB / 1.574 GB, free: 35.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/3.358, allocations: 1.091 MB / 1.575 GB, free: 34.39 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=211): time 4.729e-06/3.358, allocations: 0 / 1.575 GB, free: 34.39 MB / 0.5886 GB Notification: Performance of matching and sorting (n=212): time 0.01114/3.369, allocations: 4.553 MB / 1.579 GB, free: 31.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/3.369, allocations: 112 kB / 1.579 GB, free: 31.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007854/3.37, allocations: 0.6682 MB / 1.58 GB, free: 31.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/3.37, allocations: 25.7 kB / 1.58 GB, free: 31.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000547/3.37, allocations: 0.7885 MB / 1.581 GB, free: 30.54 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/3.371, allocations: 0.6827 MB / 1.581 GB, free: 29.92 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/3.371, allocations: 0 / 1.581 GB, free: 29.92 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/3.371, allocations: 376.9 kB / 1.582 GB, free: 29.56 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009341/3.372, allocations: 0.7061 MB / 1.583 GB, free: 29.21 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/3.373, allocations: 0.8842 MB / 1.583 GB, free: 28.68 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/3.377, allocations: 1.232 MB / 1.585 GB, free: 28.04 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/3.377, allocations: 0 / 1.585 GB, free: 28.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.006576/3.383, allocations: 2.796 MB / 1.587 GB, free: 25.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/3.383, allocations: 33.7 kB / 1.587 GB, free: 25.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/3.383, allocations: 4 kB / 1.587 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/3.385, allocations: 0.5941 MB / 1.588 GB, free: 24.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/3.386, allocations: 283.6 kB / 1.588 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008331/3.394, allocations: 11.32 MB / 1.599 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/3.396, allocations: 147 kB / 1.599 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/3.397, allocations: 75.95 kB / 1.599 GB, free: 11.89 MB / 0.5886 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: connectRearOutlet1.r_rear:VARIABLE(unit = "Pa" protected = true ) type: Real $DER.connectRearOutlet1.outlet.m_flow:VARIABLE(flow=true unit = "kg/s" ) "Mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.connectorInletOutletFore.junctionRFF2_1.junctionMN.rears[1].m_flow:DUMMY_DER(flow=true fixed = false ) "mass flow rate" type: Real [1] $DER.sink3.inlet.m_flow:VARIABLE(flow=true unit = "kg/s" ) "mass flow rate" type: Real connectorInletOutletFore.junctionRFF2_1.junctionMN.r_mix:VARIABLE(unit = "Pa" protected = true ) "mixed r assuming positive massflow" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 2 {3 18,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004119/3.397, allocations: 154.6 kB / 1.6 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003817/3.397, allocations: 154.1 kB / 1.6 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007479/3.405, allocations: 3.281 MB / 1.603 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/3.405, allocations: 31.98 kB / 1.603 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/3.405, allocations: 8 kB / 1.603 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/3.405, allocations: 11.95 kB / 1.603 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/3.415, allocations: 5.406 MB / 1.608 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/3.415, allocations: 4 kB / 1.608 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/3.416, allocations: 299.5 kB / 1.609 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/3.418, allocations: 0.5247 MB / 1.609 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/3.418, allocations: 63.86 kB / 1.609 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/3.428, allocations: 13.67 MB / 1.622 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/3.428, allocations: 4.031 kB / 1.622 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4384/3.867, allocations: 4.252 MB / 1.627 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/3.868, allocations: 246.3 kB / 1.627 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/3.868, allocations: 10.8 kB / 1.627 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/3.869, allocations: 104.5 kB / 1.627 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004044/3.87, allocations: 198.9 kB / 1.627 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/3.87, allocations: 84.09 kB / 1.627 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006389/3.87, allocations: 0.5119 MB / 1.628 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.61e-07/3.87, allocations: 0 / 1.628 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003333/3.874, allocations: 0.9059 MB / 1.629 GB, free: 67.06 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.outlet.m_flow,source1.outlet.m_flow,boundary_rear3.fore.m_flow,connectRearOutlet1.outlet.m_flow,flowResistance2.rear.m_flow,boundary_fore5.rear.m_flow,sink3.inlet.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 8,(3,77.8%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003732/3.878, allocations: 2.028 MB / 1.631 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005607/3.883, allocations: 3.082 MB / 1.634 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/3.883, allocations: 3.266 kB / 1.634 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003277/3.886, allocations: 2.519 MB / 1.636 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/3.889, allocations: 444 kB / 1.637 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005815/3.895, allocations: 3.469 MB / 1.64 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/3.896, allocations: 1.542 MB / 1.641 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001312/3.897, allocations: 373 kB / 1.642 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/3.898, allocations: 160.2 kB / 1.642 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.244e-06/3.898, allocations: 0 / 1.642 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.07191/3.97, allocations: 43.76 MB / 1.685 GB, free: 59.21 MB / 0.6042 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches