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.001102/0.001102, allocations: 174.6 kB / 15.77 MB, free: 6.324 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.507/1.507, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0007443/0.0007443, allocations: 90.36 kB / 270.3 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 0.7717/0.7717, allocations: 90.59 MB / 409.1 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 15.94 kB / 485.9 MB, free: 2.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4148, allocations: 66.27 MB / 0.5392 GB, free: 45.61 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.2559/0.6708, allocations: 207.1 MB / 0.7415 GB, free: 12.39 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.4379/1.109, allocations: 28.57 MB / 0.7694 GB, free: 6.281 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00446/1.113, allocations: 49 kB / 0.7694 GB, free: 6.281 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.005347/1.119, allocations: 1.413 MB / 0.7708 GB, free: 6.234 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.009937/1.129, allocations: 2.525 MB / 0.7733 GB, free: 6.129 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.008656/1.137, allocations: 1.802 MB / 0.775 GB, free: 6.074 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.01086/1.148, allocations: 4.756 MB / 0.7797 GB, free: 6.074 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002825/1.151, allocations: 0.7309 MB / 0.7804 GB, free: 21.95 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007317/1.158, allocations: 1.695 MB / 0.7821 GB, free: 21.93 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006851/1.165, allocations: 2.063 MB / 0.7841 GB, free: 21.93 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001516/1.167, allocations: 103 kB / 0.7842 GB, free: 21.93 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01291/1.18, allocations: 3.395 MB / 0.7875 GB, free: 21.84 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001745/1.182, allocations: 408.6 kB / 0.7879 GB, free: 21.84 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003237/1.185, allocations: 0.496 MB / 0.7884 GB, free: 21.81 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.009763/1.195, allocations: 3.142 MB / 0.7914 GB, free: 21.54 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/1.195, allocations: 0 / 0.7914 GB, free: 21.54 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.699e-06/1.195, allocations: 0 / 0.7914 GB, free: 21.54 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002363/1.195, allocations: 0.7188 kB / 0.7914 GB, free: 21.54 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.01118/1.206, allocations: 2.676 MB / 0.794 GB, free: 20.22 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/1.206, allocations: 9.188 kB / 0.7941 GB, free: 20.22 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/1.208, allocations: 267.1 kB / 0.7943 GB, free: 20.09 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003582/1.211, allocations: 1.071 MB / 0.7954 GB, free: 19.73 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002729/1.212, allocations: 156.3 kB / 0.7955 GB, free: 19.72 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006064/1.212, allocations: 213.5 kB / 0.7957 GB, free: 19.71 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004931/1.217, allocations: 2.435 MB / 0.7981 GB, free: 19.55 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/1.217, allocations: 0 / 0.7981 GB, free: 19.55 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/1.218, allocations: 80.91 kB / 0.7982 GB, free: 19.55 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.068e-05/1.218, allocations: 58.95 kB / 0.7982 GB, free: 19.55 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00382/1.221, allocations: 2.27 MB / 0.8004 GB, free: 19.53 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01567/1.237, allocations: 11.91 MB / 0.8121 GB, free: 12.57 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003685/1.241, allocations: 2.297 MB / 0.8143 GB, free: 12.47 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/1.243, allocations: 1.084 MB / 0.8154 GB, free: 12.45 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009681/1.252, allocations: 6.432 MB / 0.8216 GB, free: 8.191 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002237/1.255, allocations: 1.23 MB / 0.8228 GB, free: 7.863 MB / 0.573 GB Notification: Performance of pre-optimization done (n=217): time 5e-06/1.255, allocations: 0 / 0.8228 GB, free: 7.863 MB / 0.573 GB Notification: Performance of matching and sorting (n=218): time 0.01457/1.269, allocations: 6.331 MB / 0.829 GB, free: 5.449 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.269, allocations: 108.9 kB / 0.8291 GB, free: 5.352 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/1.271, allocations: 0.9653 MB / 0.8301 GB, free: 5.059 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/1.271, allocations: 60.11 kB / 0.8301 GB, free: 5.027 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008935/1.272, allocations: 0.7719 MB / 0.8309 GB, free: 4.637 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006487/1.272, allocations: 0.73 MB / 0.8316 GB, free: 4.094 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/1.273, allocations: 36.45 kB / 0.8316 GB, free: 4.094 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002164/1.273, allocations: 384.5 kB / 0.832 GB, free: 3.758 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/1.274, allocations: 0.8064 MB / 0.8328 GB, free: 3.668 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/1.276, allocations: 0.9966 MB / 0.8338 GB, free: 3.438 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/1.278, allocations: 0.9595 MB / 0.8347 GB, free: 3.34 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.278, allocations: 0 / 0.8347 GB, free: 3.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.006303/1.284, allocations: 2.794 MB / 0.8374 GB, free: 2.785 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/1.284, allocations: 30.42 kB / 0.8375 GB, free: 2.754 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/1.284, allocations: 6.703 kB / 0.8375 GB, free: 2.754 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/1.286, allocations: 0.6232 MB / 0.8381 GB, free: 2.547 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.287, allocations: 298.6 kB / 0.8384 GB, free: 2.504 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01908/1.307, allocations: 15.19 MB / 0.8532 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/1.31, allocations: 185.5 kB / 0.8534 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007545/1.311, allocations: 81.19 kB / 0.8534 GB, free: 6.094 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.002019/1.313, allocations: 409.2 kB / 0.8538 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008612/1.314, allocations: 168 kB / 0.854 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008898/1.323, allocations: 3.358 MB / 0.8573 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.29e-05/1.323, allocations: 27.75 kB / 0.8573 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.43e-05/1.323, allocations: 8 kB / 0.8573 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-05/1.323, allocations: 11.95 kB / 0.8573 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/1.337, allocations: 5.732 MB / 0.8629 GB, free: 204 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/1.337, allocations: 0 / 0.8629 GB, free: 204 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.338, allocations: 334 kB / 0.8632 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/1.34, allocations: 0.5446 MB / 0.8638 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003107/1.341, allocations: 84.89 kB / 0.8639 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/1.356, allocations: 14.04 MB / 0.8776 GB, free: 1.758 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/1.356, allocations: 4.031 kB / 0.8776 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/1.368, allocations: 4.343 MB / 0.8818 GB, free: 14.86 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.369, allocations: 263.3 kB / 0.8821 GB, free: 14.59 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000944/1.37, allocations: 49.19 kB / 0.8821 GB, free: 14.58 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/1.373, allocations: 159.5 kB / 0.8823 GB, free: 14.45 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007921/1.374, allocations: 203.6 kB / 0.8825 GB, free: 14.28 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000481/1.374, allocations: 94.14 kB / 0.8825 GB, free: 14.21 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.001307/1.375, allocations: 0.6571 MB / 0.8832 GB, free: 13.71 MB / 0.6199 GB Notification: Performance of sort global known variables: time 4.51e-07/1.375, allocations: 0 / 0.8832 GB, free: 13.71 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.00572/1.381, allocations: 0.9106 MB / 0.8841 GB, free: 12.94 MB / 0.6199 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.003425/1.385, allocations: 1.107 MB / 0.8852 GB, free: 12 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.009201/1.394, allocations: 3.853 MB / 0.8889 GB, free: 8.828 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.394, allocations: 0 / 0.8889 GB, free: 8.828 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.006039/1.4, allocations: 2.898 MB / 0.8917 GB, free: 6.312 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005601/1.406, allocations: 0.5533 MB / 0.8923 GB, free: 5.914 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/1.419, allocations: 5.425 MB / 0.8976 GB, free: 1.059 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/1.421, allocations: 1.53 MB / 0.8991 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.422, allocations: 206.1 kB / 0.8993 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.393e-06/1.422, allocations: 0 / 0.8993 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.6386/2.061, allocations: 121.9 MB / 1.018 GB, free: 340.2 MB / 0.7292 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