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.001427/0.001427, allocations: 174.1 kB / 12.73 MB, free: 2.586 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.387/1.387, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.000813/0.000813, allocations: 92.48 kB / 266.6 MB, free: 9.281 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.7181/0.7181, allocations: 90.34 MB / 405 MB, free: 8.656 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.866e-05, allocations: 7.984 kB / 479.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3477, allocations: 66.27 MB / 0.5326 GB, free: 28.48 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9912/1.339, allocations: 445.3 MB / 0.9675 GB, free: 198.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/1.339, allocations: 90.98 kB / 0.9676 GB, free: 198.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.838/3.177, allocations: 0.5867 GB / 1.554 GB, free: 48.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.683e-06/3.177, allocations: 0 / 1.554 GB, free: 48.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002516/3.178, allocations: 69.72 kB / 1.554 GB, free: 48.73 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.009464/3.187, allocations: 2.795 MB / 1.557 GB, free: 46.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/3.187, allocations: 10.75 kB / 1.557 GB, free: 46.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/3.189, allocations: 290.9 kB / 1.557 GB, free: 46.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/3.192, allocations: 1.154 MB / 1.559 GB, free: 45.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/3.192, allocations: 151.1 kB / 1.559 GB, free: 45.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007516/3.193, allocations: 227 kB / 1.559 GB, free: 45.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005732/3.199, allocations: 2.378 MB / 1.561 GB, free: 44.22 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/3.199, allocations: 0 / 1.561 GB, free: 44.22 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003129/3.199, allocations: 84.12 kB / 1.561 GB, free: 44.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-05/3.199, allocations: 64.81 kB / 1.561 GB, free: 44.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/3.203, allocations: 2.196 MB / 1.563 GB, free: 42.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01636/3.22, allocations: 12.07 MB / 1.575 GB, free: 28.79 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/3.223, allocations: 2.502 MB / 1.578 GB, free: 26.24 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/3.225, allocations: 1.046 MB / 1.579 GB, free: 25.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008853/3.234, allocations: 6.635 MB / 1.585 GB, free: 17.97 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001721/3.235, allocations: 1.141 MB / 1.586 GB, free: 16.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=211): time 8.837e-06/3.235, allocations: 4 kB / 1.586 GB, free: 16.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=212): time 0.008221/3.244, allocations: 4.104 MB / 1.59 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/3.244, allocations: 98.89 kB / 1.59 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/3.245, allocations: 0.8327 MB / 1.591 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/3.245, allocations: 57.7 kB / 1.591 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005247/3.246, allocations: 0.7793 MB / 1.592 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004867/3.246, allocations: 0.7122 MB / 1.593 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/3.246, allocations: 36 kB / 1.593 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001031/3.246, allocations: 373.9 kB / 1.593 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/3.248, allocations: 0.7499 MB / 1.594 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/3.249, allocations: 0.9186 MB / 1.595 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/3.25, allocations: 0.8831 MB / 1.596 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/3.25, allocations: 0 / 1.596 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005323/3.255, allocations: 2.582 MB / 1.598 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/3.255, allocations: 29.7 kB / 1.598 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/3.256, allocations: 4 kB / 1.598 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/3.257, allocations: 0.6146 MB / 1.599 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/3.258, allocations: 287.5 kB / 1.599 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009155/3.268, allocations: 11.36 MB / 1.61 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/3.27, allocations: 179.1 kB / 1.61 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005303/3.27, allocations: 83.95 kB / 1.61 GB, free: 6.906 MB / 0.6042 GB 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,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007208/3.271, allocations: 196.5 kB / 1.611 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006812/3.272, allocations: 169.9 kB / 1.611 GB, free: 6.539 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007382/3.279, allocations: 3.139 MB / 1.614 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/3.279, allocations: 24 kB / 1.614 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/3.279, allocations: 15.95 kB / 1.614 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.939e-05/3.279, allocations: 11.95 kB / 1.614 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4205/3.7, allocations: 5.457 MB / 1.619 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/3.7, allocations: 3.562 kB / 1.619 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/3.701, allocations: 301.5 kB / 1.619 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/3.703, allocations: 0.5372 MB / 1.62 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/3.703, allocations: 77.64 kB / 1.62 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/3.713, allocations: 14.16 MB / 1.634 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/3.713, allocations: 5.344 kB / 1.634 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008138/3.722, allocations: 4.096 MB / 1.638 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008439/3.722, allocations: 257.4 kB / 1.638 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002532/3.723, allocations: 49.06 kB / 1.638 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/3.724, allocations: 143.9 kB / 1.638 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005198/3.725, allocations: 196.6 kB / 1.639 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/3.725, allocations: 83.89 kB / 1.639 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008106/3.726, allocations: 0.65 MB / 1.639 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/3.726, allocations: 2.094 kB / 1.639 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003127/3.729, allocations: 0.9786 MB / 1.64 GB, free: 54.42 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.003026/3.732, allocations: 2.027 MB / 1.642 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004965/3.737, allocations: 3.215 MB / 1.645 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/3.737, allocations: 3.375 kB / 1.645 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003503/3.74, allocations: 2.638 MB / 1.648 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/3.743, allocations: 0.4912 MB / 1.648 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/3.749, allocations: 3.578 MB / 1.652 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/3.75, allocations: 1.544 MB / 1.653 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001433/3.751, allocations: 393.5 kB / 1.654 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/3.752, allocations: 163.7 kB / 1.654 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of SimCode: time 2.094e-06/3.752, allocations: 3.75 kB / 1.654 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of Templates: time 0.07701/3.829, allocations: 54.21 MB / 1.707 GB, free: 45.87 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