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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001995/0.001995, allocations: 174 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9376/0.9376, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0007635/0.0007632, allocations: 84.81 kB / 261.1 MB, free: 13.62 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.4809/0.4809, allocations: 90.35 MB / 399.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.012e-06/6.032e-06, allocations: 4 kB / 471.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2165, allocations: 66.25 MB / 0.5253 GB, free: 28.88 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6173/0.8338, allocations: 444.6 MB / 0.9595 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.8341, allocations: 87.58 kB / 0.9596 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.263/2.097, allocations: 0.5877 GB / 1.547 GB, free: 50.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.935e-05/2.098, allocations: 62.09 kB / 1.547 GB, free: 50.32 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.004985/2.103, allocations: 2.832 MB / 1.55 GB, free: 47.47 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/2.103, allocations: 11.97 kB / 1.55 GB, free: 47.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/2.103, allocations: 264.9 kB / 1.55 GB, free: 47.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/2.104, allocations: 1.159 MB / 1.552 GB, free: 46.01 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/2.104, allocations: 67.88 kB / 1.552 GB, free: 45.95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/2.105, allocations: 143.8 kB / 1.552 GB, free: 45.81 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002526/2.107, allocations: 2.089 MB / 1.554 GB, free: 43.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/2.11, allocations: 2.122 MB / 1.556 GB, free: 41.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/2.11, allocations: 0 / 1.556 GB, free: 41.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/2.11, allocations: 0 / 1.556 GB, free: 41.53 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-05/2.11, allocations: 69 kB / 1.556 GB, free: 41.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008859/2.119, allocations: 11.74 MB / 1.567 GB, free: 28.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/2.12, allocations: 1.088 MB / 1.568 GB, free: 27.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/2.121, allocations: 0.9934 MB / 1.569 GB, free: 26.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005255/2.126, allocations: 5.997 MB / 1.575 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/2.128, allocations: 1.133 MB / 1.576 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=216): time 3.146e-06/2.128, allocations: 0 / 1.576 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=217): time 0.009927/2.138, allocations: 4.873 MB / 1.581 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/2.138, allocations: 102.9 kB / 1.581 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005812/2.138, allocations: 0.6723 MB / 1.582 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-05/2.138, allocations: 25.7 kB / 1.582 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/2.139, allocations: 0.583 MB / 1.582 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/2.139, allocations: 0.7041 MB / 1.583 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/2.139, allocations: 0 / 1.583 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.314e-05/2.139, allocations: 377.9 kB / 1.584 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009308/2.14, allocations: 0.7538 MB / 1.584 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/2.141, allocations: 0.9264 MB / 1.585 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/2.145, allocations: 1.376 MB / 1.587 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/2.145, allocations: 0 / 1.587 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.006148/2.151, allocations: 3.018 MB / 1.589 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/2.151, allocations: 4 kB / 1.589 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/2.151, allocations: 4 kB / 1.589 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/2.152, allocations: 0.6029 MB / 1.59 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009732/2.153, allocations: 295.6 kB / 1.59 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009322/2.163, allocations: 11.32 MB / 1.601 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/2.164, allocations: 150.4 kB / 1.602 GB, free: 7.938 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/2.164, allocations: 79.95 kB / 1.602 GB, free: 7.859 MB / 0.6042 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 (179): * Single equations (assignments): 153 * 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.0003196/2.164, allocations: 150 kB / 1.602 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/2.165, allocations: 158 kB / 1.602 GB, free: 7.551 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007985/2.173, allocations: 3.677 MB / 1.605 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/2.173, allocations: 31.98 kB / 1.606 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/2.173, allocations: 11.94 kB / 1.606 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/2.173, allocations: 11.95 kB / 1.606 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1621/2.335, allocations: 5.773 MB / 1.611 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/2.335, allocations: 0 / 1.611 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/2.336, allocations: 322.7 kB / 1.611 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/2.337, allocations: 0.5312 MB / 1.612 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/2.338, allocations: 55.2 kB / 1.612 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007648/2.345, allocations: 13.36 MB / 1.625 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.345, allocations: 0 / 1.625 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007186/2.352, allocations: 4.465 MB / 1.629 GB, free: 99.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/2.353, allocations: 239.6 kB / 1.63 GB, free: 99.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/2.353, allocations: 16.56 kB / 1.63 GB, free: 99.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/2.354, allocations: 107.6 kB / 1.63 GB, free: 99.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/2.354, allocations: 160.3 kB / 1.63 GB, free: 99.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/2.354, allocations: 89.12 kB / 1.63 GB, free: 99.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004757/2.355, allocations: 0.5079 MB / 1.631 GB, free: 99.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002118/2.357, allocations: 0.9253 MB / 1.631 GB, free: 99.39 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 (195): * Single equations (assignments): 168 * 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.001992/2.359, allocations: 2.057 MB / 1.633 GB, free: 98.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003486/2.363, allocations: 3.1 MB / 1.636 GB, free: 97.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/2.363, allocations: 0 / 1.636 GB, free: 97.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002492/2.365, allocations: 2.454 MB / 1.639 GB, free: 96.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/2.367, allocations: 444.2 kB / 1.639 GB, free: 96.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/2.372, allocations: 3.518 MB / 1.643 GB, free: 95.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/2.373, allocations: 1.718 MB / 1.644 GB, free: 94.94 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/2.373, allocations: 0 / 1.644 GB, free: 94.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.05194/2.425, allocations: 47.43 MB / 1.691 GB, free: 92.3 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