Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.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.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter") translateModel(ThermofluidStream.Topology.Tests.TestSplitter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|splitterN.inlet.m_flow|splitterN.outlets.2..m_flow|splitterN.outlets.3..m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007284/0.007284, allocations: 170.8 kB / 15.12 MB, free: 6.02 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.793/1.793, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.00107/0.00107, allocations: 78.88 kB / 269.6 MB, free: 13.35 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.892/0.892, allocations: 90.59 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004211, allocations: 11.98 kB / 485.2 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4429, allocations: 66.28 MB / 0.5386 GB, free: 45.46 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1563/0.5992, allocations: 120.1 MB / 0.6558 GB, free: 3.609 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004088/0.6034, allocations: 3.488 MB / 0.6593 GB, free: 116 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.6036, allocations: 4 kB / 0.6593 GB, free: 112 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.6042, allocations: 135.5 kB / 0.6594 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006268/0.6049, allocations: 227.2 kB / 0.6596 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.6052, allocations: 99.7 kB / 0.6597 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.6056, allocations: 219.5 kB / 0.6599 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.6058, allocations: 73.73 kB / 0.66 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.6061, allocations: 123.6 kB / 0.6601 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.6063, allocations: 119.6 kB / 0.6602 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.6063, allocations: 12 kB / 0.6602 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.6069, allocations: 283.7 kB / 0.6605 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.607, allocations: 27.84 kB / 0.6605 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.607, allocations: 70.14 kB / 0.6606 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.6073, allocations: 212.2 kB / 0.6608 GB, free: 14.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.6073, allocations: 4 kB / 0.6608 GB, free: 14.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6074, allocations: 0 / 0.6608 GB, free: 14.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.6074, allocations: 0 / 0.6608 GB, free: 14.54 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000832/0.6082, allocations: 0.4911 MB / 0.6613 GB, free: 14.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.6082, allocations: 9.438 kB / 0.6613 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.6083, allocations: 23.72 kB / 0.6613 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.6086, allocations: 239.4 kB / 0.6615 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.6086, allocations: 16 kB / 0.6615 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.6087, allocations: 19.91 kB / 0.6616 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.609, allocations: 199.1 kB / 0.6618 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.609, allocations: 4 kB / 0.6618 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.6091, allocations: 4 kB / 0.6618 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.6091, allocations: 7.953 kB / 0.6618 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.6093, allocations: 134.1 kB / 0.6619 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.6105, allocations: 1.074 MB / 0.6629 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.6109, allocations: 193 kB / 0.6631 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.6112, allocations: 255.3 kB / 0.6634 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.6112, allocations: 34.56 kB / 0.6634 GB, free: 11.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.6112, allocations: 0 / 0.6634 GB, free: 11.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.001703/0.6129, allocations: 1.035 MB / 0.6644 GB, free: 10.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.613, allocations: 51.41 kB / 0.6645 GB, free: 10.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.6131, allocations: 172.9 kB / 0.6646 GB, free: 10.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.6132, allocations: 33.69 kB / 0.6647 GB, free: 10.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.6133, allocations: 128.4 kB / 0.6648 GB, free: 9.984 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.6133, allocations: 63 kB / 0.6648 GB, free: 9.922 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.6134, allocations: 8 kB / 0.6649 GB, free: 9.914 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6135, allocations: 330.8 kB / 0.6652 GB, free: 9.582 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.6136, allocations: 60.16 kB / 0.6652 GB, free: 9.523 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.6138, allocations: 89.88 kB / 0.6653 GB, free: 9.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.6139, allocations: 71.98 kB / 0.6654 GB, free: 9.359 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.6139, allocations: 0 / 0.6654 GB, free: 9.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004782/0.6144, allocations: 274.1 kB / 0.6656 GB, free: 9.082 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.6144, allocations: 6.031 kB / 0.6656 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6144, allocations: 0 / 0.6656 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000315/0.6147, allocations: 94.75 kB / 0.6657 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/0.6148, allocations: 23.98 kB / 0.6658 GB, free: 8.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.617, allocations: 1.838 MB / 0.6676 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.6172, allocations: 18.34 kB / 0.6676 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.6172, allocations: 8 kB / 0.6676 GB, free: 6.969 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001871/0.6174, allocations: 149.5 kB / 0.6677 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.6175, allocations: 17.22 kB / 0.6677 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.6181, allocations: 284.8 kB / 0.668 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6181, allocations: 0 / 0.668 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6181, allocations: 0 / 0.668 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6181, allocations: 7.938 kB / 0.668 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.6186, allocations: 293.5 kB / 0.6683 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6186, allocations: 0 / 0.6683 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.6186, allocations: 15.98 kB / 0.6683 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002877/0.6189, allocations: 98.08 kB / 0.6684 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.619, allocations: 8 kB / 0.6684 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.6209, allocations: 1.856 MB / 0.6702 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6209, allocations: 0 / 0.6702 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.6216, allocations: 454.1 kB / 0.6707 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/0.6217, allocations: 92.95 kB / 0.6707 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.6218, allocations: 8 kB / 0.6708 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.6219, allocations: 8 kB / 0.6708 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.622, allocations: 19.97 kB / 0.6708 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.622, allocations: 8 kB / 0.6708 GB, free: 3.449 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.6221, allocations: 133.1 kB / 0.6709 GB, free: 3.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6221, allocations: 0 / 0.6709 GB, free: 3.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004322/0.6226, allocations: 76 kB / 0.671 GB, free: 3.246 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002778/0.6228, allocations: 169.5 kB / 0.6712 GB, free: 3.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007145/0.6236, allocations: 373.5 kB / 0.6715 GB, free: 2.688 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.6236, allocations: 0 / 0.6715 GB, free: 2.688 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.6241, allocations: 296.2 kB / 0.6718 GB, free: 2.379 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.6244, allocations: 36.91 kB / 0.6718 GB, free: 2.344 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.6255, allocations: 0.7177 MB / 0.6725 GB, free: 1.613 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.6258, allocations: 0.7635 MB / 0.6733 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.575e-05/0.6259, allocations: 23.27 kB / 0.6733 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.626, allocations: 19.44 kB / 0.6733 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of SimCode: time 5.62e-07/0.626, allocations: 0 / 0.6733 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of Templates: time 0.007533/0.6335, allocations: 3.8 MB / 0.677 GB, free: 13.05 MB / 0.4948 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches