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.009771/0.009771, allocations: 170.7 kB / 15.12 MB, free: 5.555 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.653/1.653, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0008509/0.0008511, allocations: 98.84 kB / 269.6 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7292/0.7292, allocations: 90.59 MB / 408.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004608, allocations: 12 kB / 485.2 MB, free: 2.035 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4583, allocations: 66.27 MB / 0.5386 GB, free: 45.53 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.2278/0.6861, allocations: 191 MB / 0.7251 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03188/0.718, allocations: 25.69 MB / 0.7502 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.7212, allocations: 47.75 kB / 0.7502 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004268/0.7255, allocations: 1.423 MB / 0.7516 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.3557/1.081, allocations: 2.553 MB / 0.7541 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006943/1.088, allocations: 1.877 MB / 0.7559 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005741/1.094, allocations: 2.715 MB / 0.7586 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/1.096, allocations: 0.7308 MB / 0.7593 GB, free: 23.02 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003679/1.099, allocations: 1.603 MB / 0.7609 GB, free: 23.02 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0036/1.103, allocations: 1.683 MB / 0.7625 GB, free: 23.01 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005449/1.103, allocations: 105.4 kB / 0.7626 GB, free: 23.01 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/1.116, allocations: 3.631 MB / 0.7662 GB, free: 23 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001496/1.117, allocations: 401.8 kB / 0.7665 GB, free: 23 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002207/1.119, allocations: 0.4942 MB / 0.767 GB, free: 22.96 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00898/1.128, allocations: 3.102 MB / 0.7701 GB, free: 22.7 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.128, allocations: 0.8438 kB / 0.7701 GB, free: 22.7 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.344e-06/1.128, allocations: 0 / 0.7701 GB, free: 22.7 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001679/1.129, allocations: 0 / 0.7701 GB, free: 22.7 MB / 0.573 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.009667/1.138, allocations: 2.674 MB / 0.7727 GB, free: 21.38 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.138, allocations: 8.375 kB / 0.7727 GB, free: 21.38 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/1.14, allocations: 265.6 kB / 0.7729 GB, free: 21.25 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/1.144, allocations: 1.063 MB / 0.774 GB, free: 20.89 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/1.144, allocations: 155.4 kB / 0.7741 GB, free: 20.88 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008224/1.145, allocations: 219.9 kB / 0.7743 GB, free: 20.87 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006252/1.151, allocations: 2.414 MB / 0.7767 GB, free: 20.71 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-05/1.151, allocations: 0 / 0.7767 GB, free: 20.71 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/1.151, allocations: 85.38 kB / 0.7768 GB, free: 20.7 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.257e-05/1.151, allocations: 61.3 kB / 0.7768 GB, free: 20.7 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005015/1.156, allocations: 2.273 MB / 0.779 GB, free: 20.68 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/1.177, allocations: 12.15 MB / 0.7909 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005033/1.182, allocations: 2.351 MB / 0.7932 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0121/1.194, allocations: 6.638 MB / 0.7997 GB, free: 9.695 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002274/1.197, allocations: 1.216 MB / 0.8009 GB, free: 9.605 MB / 0.573 GB Notification: Performance of pre-optimization done (n=217): time 8.276e-06/1.197, allocations: 4 kB / 0.8009 GB, free: 9.602 MB / 0.573 GB Notification: Performance of matching and sorting (n=218): time 0.01477/1.211, allocations: 7.571 MB / 0.8083 GB, free: 6.195 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/1.212, allocations: 100.2 kB / 0.8084 GB, free: 6.102 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/1.213, allocations: 0.9677 MB / 0.8093 GB, free: 5.957 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002334/1.213, allocations: 63.92 kB / 0.8094 GB, free: 5.926 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000622/1.214, allocations: 0.7671 MB / 0.8101 GB, free: 5.617 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006493/1.215, allocations: 0.7347 MB / 0.8108 GB, free: 5.137 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/1.215, allocations: 34.47 kB / 0.8109 GB, free: 5.137 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000207/1.215, allocations: 379.7 kB / 0.8112 GB, free: 4.832 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/1.217, allocations: 0.8014 MB / 0.812 GB, free: 4.828 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/1.218, allocations: 0.9776 MB / 0.813 GB, free: 4.711 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/1.22, allocations: 0.9501 MB / 0.8139 GB, free: 4.656 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/1.22, allocations: 9.016 kB / 0.8139 GB, free: 4.652 MB / 0.573 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005547/1.225, allocations: 2.776 MB / 0.8166 GB, free: 4.363 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/1.225, allocations: 36.02 kB / 0.8166 GB, free: 4.332 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/1.226, allocations: 7.297 kB / 0.8167 GB, free: 4.328 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/1.227, allocations: 0.621 MB / 0.8173 GB, free: 4.242 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.229, allocations: 298.3 kB / 0.8175 GB, free: 4.242 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/1.246, allocations: 15.34 MB / 0.8325 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/1.249, allocations: 176.2 kB / 0.8327 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000711/1.25, allocations: 81.33 kB / 0.8328 GB, free: 8.359 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (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: 9 {(3,77.8%) 18,(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%) 8,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001738/1.252, allocations: 410.5 kB / 0.8332 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006757/1.252, allocations: 168.2 kB / 0.8333 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007559/1.26, allocations: 3.36 MB / 0.8366 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-05/1.26, allocations: 25.31 kB / 0.8366 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.895e-05/1.26, allocations: 9.969 kB / 0.8366 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/1.26, allocations: 15.95 kB / 0.8366 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/1.272, allocations: 5.838 MB / 0.8424 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.273, allocations: 4.625 kB / 0.8424 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/1.274, allocations: 342 kB / 0.8427 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001793/1.276, allocations: 0.5372 MB / 0.8432 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/1.276, allocations: 76.55 kB / 0.8433 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/1.289, allocations: 14.19 MB / 0.8571 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/1.289, allocations: 4.031 kB / 0.8571 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/1.3, allocations: 4.391 MB / 0.8614 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009983/1.301, allocations: 262.6 kB / 0.8617 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000642/1.302, allocations: 57.77 kB / 0.8617 GB, free: 5.613 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/1.304, allocations: 150.1 kB / 0.8619 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006413/1.305, allocations: 206.2 kB / 0.8621 GB, free: 5.324 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003651/1.305, allocations: 85.95 kB / 0.8622 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001081/1.306, allocations: 0.6572 MB / 0.8628 GB, free: 4.758 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.773e-06/1.306, allocations: 4 kB / 0.8628 GB, free: 4.754 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004914/1.311, allocations: 0.9151 MB / 0.8637 GB, free: 3.98 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.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.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 (198): * Single equations (assignments): 171 * 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.002713/1.314, allocations: 1.115 MB / 0.8648 GB, free: 3.043 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007834/1.322, allocations: 3.826 MB / 0.8685 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.322, allocations: 0 / 0.8685 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004804/1.327, allocations: 2.893 MB / 0.8713 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/1.33, allocations: 0.5151 MB / 0.8718 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.341, allocations: 5.335 MB / 0.8771 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/1.343, allocations: 1.576 MB / 0.8786 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00283/1.346, allocations: 437.9 kB / 0.879 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008283/1.347, allocations: 185.9 kB / 0.8792 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of SimCode: time 1.593e-06/1.347, allocations: 1.859 kB / 0.8792 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of Templates: time 0.1073/1.454, allocations: 46.39 MB / 0.9245 GB, free: 8.199 MB / 0.6667 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