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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.0009064/0.0009065, allocations: 172.5 kB / 16.11 MB, free: 5.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.331/1.331, allocations: 205.4 MB / 222.3 MB, free: 13.73 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.0008415/0.0008414, allocations: 82.31 kB / 270.6 MB, free: 13.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.746/0.746, allocations: 89.62 MB / 408.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003597, allocations: 12 kB / 485.2 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1262, allocations: 66.01 MB / 0.5383 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9751/1.101, allocations: 445.3 MB / 0.9732 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.102, allocations: 99.39 kB / 0.9733 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.965/3.066, allocations: 0.5832 GB / 1.556 GB, free: 49.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.679e-06/3.066, allocations: 0 / 1.556 GB, free: 49.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001754/3.067, allocations: 71.19 kB / 1.557 GB, free: 49.98 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.01136/3.078, allocations: 2.962 MB / 1.559 GB, free: 48.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.938e-05/3.078, allocations: 11.06 kB / 1.559 GB, free: 48.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/3.08, allocations: 296.1 kB / 1.56 GB, free: 48.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/3.083, allocations: 1.207 MB / 1.561 GB, free: 47.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/3.083, allocations: 160.5 kB / 1.561 GB, free: 47.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006412/3.084, allocations: 210 kB / 1.561 GB, free: 47.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004309/3.088, allocations: 2.465 MB / 1.564 GB, free: 47.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/3.088, allocations: 3.938 kB / 1.564 GB, free: 47.79 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/3.088, allocations: 79.81 kB / 1.564 GB, free: 47.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.204e-05/3.088, allocations: 66.08 kB / 1.564 GB, free: 47.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/3.092, allocations: 2.305 MB / 1.566 GB, free: 47.77 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/3.103, allocations: 11.94 MB / 1.578 GB, free: 40.81 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/3.107, allocations: 2.585 MB / 1.58 GB, free: 40.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/3.108, allocations: 1.102 MB / 1.581 GB, free: 40.42 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007794/3.116, allocations: 6.423 MB / 1.588 GB, free: 37.08 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001715/3.118, allocations: 1.199 MB / 1.589 GB, free: 36.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=211): time 4.629e-06/3.118, allocations: 0 / 1.589 GB, free: 36.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=212): time 0.01127/3.129, allocations: 6.225 MB / 1.595 GB, free: 35.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/3.129, allocations: 104.8 kB / 1.595 GB, free: 34.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/3.13, allocations: 0.9665 MB / 1.596 GB, free: 34.79 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/3.13, allocations: 57.89 kB / 1.596 GB, free: 34.76 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005955/3.131, allocations: 0.7815 MB / 1.597 GB, free: 34.45 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005414/3.131, allocations: 0.7226 MB / 1.597 GB, free: 33.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/3.132, allocations: 32.88 kB / 1.597 GB, free: 33.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001381/3.132, allocations: 376.6 kB / 1.598 GB, free: 33.67 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/3.133, allocations: 0.7926 MB / 1.599 GB, free: 33.67 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/3.135, allocations: 0.9827 MB / 1.6 GB, free: 33.49 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/3.137, allocations: 1.927 MB / 1.601 GB, free: 32.49 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/3.137, allocations: 0 / 1.601 GB, free: 32.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.004998/3.142, allocations: 2.698 MB / 1.604 GB, free: 31.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/3.142, allocations: 36.55 kB / 1.604 GB, free: 31.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/3.142, allocations: 3.656 kB / 1.604 GB, free: 31.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/3.144, allocations: 0.6247 MB / 1.605 GB, free: 31.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009552/3.145, allocations: 279 kB / 1.605 GB, free: 31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007519/3.153, allocations: 11.4 MB / 1.616 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/3.155, allocations: 174.1 kB / 1.616 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/3.155, allocations: 76.78 kB / 1.616 GB, free: 20.05 MB / 0.5886 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 () * Number of clocked 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.001328/3.156, allocations: 409.2 kB / 1.617 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/3.157, allocations: 181.6 kB / 1.617 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006647/3.164, allocations: 3.213 MB / 1.62 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-05/3.164, allocations: 21.78 kB / 1.62 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.943e-05/3.164, allocations: 7.281 kB / 1.62 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/3.164, allocations: 19.33 kB / 1.62 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/3.174, allocations: 5.503 MB / 1.625 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/3.174, allocations: 0 / 1.625 GB, free: 15.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/3.175, allocations: 306 kB / 1.626 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00167/3.177, allocations: 0.5494 MB / 1.626 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002254/3.177, allocations: 74.95 kB / 1.626 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/3.189, allocations: 14.2 MB / 1.64 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/3.189, allocations: 0 / 1.64 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009266/3.199, allocations: 4.199 MB / 1.644 GB, free: 16.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009525/3.2, allocations: 262.9 kB / 1.645 GB, free: 16.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006902/3.2, allocations: 51.25 kB / 1.645 GB, free: 16.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/3.202, allocations: 135.7 kB / 1.645 GB, free: 16.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006577/3.203, allocations: 199.6 kB / 1.645 GB, free: 16.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003668/3.203, allocations: 82.94 kB / 1.645 GB, free: 16.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001236/3.205, allocations: 0.6533 MB / 1.646 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.283e-06/3.205, allocations: 96 / 1.646 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004332/3.209, allocations: 0.9824 MB / 1.647 GB, free: 15.48 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) * Number of clocked states: 0 () * 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.003687/3.213, allocations: 2.034 MB / 1.649 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005674/3.218, allocations: 3.331 MB / 1.652 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/3.218, allocations: 4 kB / 1.652 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003808/3.222, allocations: 2.708 MB / 1.655 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003793/3.226, allocations: 0.5263 MB / 1.655 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008871/3.235, allocations: 5.215 MB / 1.66 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/3.237, allocations: 1.5 MB / 1.662 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00207/3.239, allocations: 390.3 kB / 1.662 GB, free: 4.426 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/3.239, allocations: 173.7 kB / 1.662 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of SimCode: time 9.21e-07/3.239, allocations: 0 / 1.662 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.4157/3.655, allocations: 52.81 MB / 1.714 GB, free: 75.81 MB / 0.6198 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