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.007746/0.007746, allocations: 172 kB / 15.11 MB, free: 5.98 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.885/1.885, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.001038/0.001038, allocations: 98.83 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 1.019/1.019, allocations: 90.58 MB / 408.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003431, allocations: 8 kB / 485.2 MB, free: 2.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5435, allocations: 66.27 MB / 0.5386 GB, free: 45.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.775, allocations: 445.4 MB / 0.9736 GB, free: 210.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.775, allocations: 101.7 kB / 0.9737 GB, free: 210.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.283/4.059, allocations: 0.5889 GB / 1.563 GB, free: 50.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.573e-06/4.059, allocations: 0 / 1.563 GB, free: 50.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0004705/4.059, allocations: 66.59 kB / 1.563 GB, free: 50.69 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.01415/4.073, allocations: 2.981 MB / 1.566 GB, free: 49.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/4.074, allocations: 9 kB / 1.566 GB, free: 49.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/4.076, allocations: 289.5 kB / 1.566 GB, free: 49.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004606/4.08, allocations: 1.165 MB / 1.567 GB, free: 48.67 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/4.081, allocations: 151.6 kB / 1.567 GB, free: 48.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/4.082, allocations: 222.2 kB / 1.567 GB, free: 48.66 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008459/4.09, allocations: 2.449 MB / 1.57 GB, free: 48.49 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/4.091, allocations: 3.953 kB / 1.57 GB, free: 48.49 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006747/4.091, allocations: 85.52 kB / 1.57 GB, free: 48.49 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/4.092, allocations: 65.28 kB / 1.57 GB, free: 48.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005749/4.097, allocations: 2.305 MB / 1.572 GB, free: 48.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02105/4.118, allocations: 12.07 MB / 1.584 GB, free: 41.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004984/4.123, allocations: 2.582 MB / 1.586 GB, free: 41.06 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/4.136, allocations: 6.565 MB / 1.593 GB, free: 37.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002403/4.139, allocations: 1.196 MB / 1.594 GB, free: 37.61 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=211): time 8.696e-06/4.139, allocations: 0 / 1.594 GB, free: 37.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=212): time 0.01599/4.155, allocations: 7.47 MB / 1.601 GB, free: 33.18 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/4.155, allocations: 98.58 kB / 1.601 GB, free: 33.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/4.157, allocations: 0.8429 MB / 1.602 GB, free: 32.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003253/4.157, allocations: 61.58 kB / 1.602 GB, free: 32.69 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007995/4.158, allocations: 0.7775 MB / 1.603 GB, free: 32.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000885/4.159, allocations: 0.7119 MB / 1.604 GB, free: 31.53 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/4.159, allocations: 39.53 kB / 1.604 GB, free: 31.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001738/4.159, allocations: 377.8 kB / 1.604 GB, free: 31.16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/4.161, allocations: 0.8008 MB / 1.605 GB, free: 30.84 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/4.163, allocations: 0.9702 MB / 1.606 GB, free: 30.37 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/4.165, allocations: 0.941 MB / 1.607 GB, free: 29.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/4.165, allocations: 0 / 1.607 GB, free: 29.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.00614/4.171, allocations: 2.688 MB / 1.609 GB, free: 28.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.222e-05/4.171, allocations: 36.05 kB / 1.609 GB, free: 28.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/4.171, allocations: 3.906 kB / 1.609 GB, free: 28.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/4.173, allocations: 0.6268 MB / 1.61 GB, free: 28.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/4.175, allocations: 283.4 kB / 1.61 GB, free: 28.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009317/4.184, allocations: 11.45 MB / 1.621 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/4.187, allocations: 181.8 kB / 1.622 GB, free: 17.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006609/4.188, allocations: 77.98 kB / 1.622 GB, free: 17.46 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.002434/4.19, allocations: 396 kB / 1.622 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/4.191, allocations: 176.6 kB / 1.622 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008941/4.2, allocations: 3.246 MB / 1.625 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.463e-05/4.2, allocations: 24.25 kB / 1.625 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.935e-05/4.2, allocations: 6.906 kB / 1.625 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/4.2, allocations: 18.08 kB / 1.626 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/4.214, allocations: 5.563 MB / 1.631 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/4.214, allocations: 3.844 kB / 1.631 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/4.215, allocations: 301.5 kB / 1.631 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/4.217, allocations: 0.5455 MB / 1.632 GB, free: 13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/4.218, allocations: 83.64 kB / 1.632 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/4.232, allocations: 14.35 MB / 1.646 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/4.232, allocations: 3.375 kB / 1.646 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/4.245, allocations: 4.257 MB / 1.65 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/4.247, allocations: 257.9 kB / 1.65 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009602/4.248, allocations: 52 kB / 1.65 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/4.25, allocations: 152 kB / 1.65 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000755/4.251, allocations: 200.2 kB / 1.651 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004417/4.251, allocations: 83.19 kB / 1.651 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001359/4.253, allocations: 0.6505 MB / 1.651 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/4.253, allocations: 0 / 1.651 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006079/4.259, allocations: 0.9734 MB / 1.652 GB, free: 11.34 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.005869/4.265, allocations: 2.043 MB / 1.654 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.009341/4.274, allocations: 3.333 MB / 1.658 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/4.274, allocations: 0 / 1.658 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005831/4.28, allocations: 2.697 MB / 1.66 GB, free: 3.625 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/4.284, allocations: 0.5022 MB / 1.661 GB, free: 3.242 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/4.3, allocations: 5.371 MB / 1.666 GB, free: 14.62 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/4.302, allocations: 1.549 MB / 1.667 GB, free: 13.04 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.002763/4.305, allocations: 384 kB / 1.668 GB, free: 12.69 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000839/4.306, allocations: 167.4 kB / 1.668 GB, free: 12.52 MB / 0.6199 GB Notification: Performance of SimCode: time 1.503e-06/4.306, allocations: 4 kB / 1.668 GB, free: 12.52 MB / 0.6199 GB Notification: Performance of Templates: time 0.5475/4.853, allocations: 52.04 MB / 1.719 GB, free: 73.47 MB / 0.6199 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