Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.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.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor") translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008528/0.0008528, allocations: 169.7 kB / 16.1 MB, free: 5.695 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.239/1.239, allocations: 205 MB / 221.9 MB, free: 9.051 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.0007445/0.0007445, allocations: 85.75 kB / 269.9 MB, free: 8.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6163/0.6163, allocations: 90.51 MB / 408.3 MB, free: 3.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 15.98 kB / 484.8 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.24, allocations: 65.8 MB / 0.5377 GB, free: 34.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.0384/0.2785, allocations: 48.66 MB / 0.5853 GB, free: 6.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.2904, allocations: 12.4 MB / 0.5974 GB, free: 9.742 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.2909, allocations: 7.938 kB / 0.5974 GB, free: 9.734 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006527/0.2915, allocations: 234.8 kB / 0.5976 GB, free: 9.504 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.2927, allocations: 0.4896 MB / 0.5981 GB, free: 9.012 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.2942, allocations: 0.6421 MB / 0.5987 GB, free: 8.367 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008835/0.2951, allocations: 1.094 MB / 0.5998 GB, free: 7.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.2953, allocations: 142.8 kB / 0.5999 GB, free: 7.129 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02471/0.32, allocations: 11.45 MB / 0.6111 GB, free: 11.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.3205, allocations: 362.5 kB / 0.6114 GB, free: 11.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.3206, allocations: 28 kB / 0.6115 GB, free: 11.2 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09338/0.414, allocations: 52.81 MB / 0.663 GB, free: 5.742 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.4142, allocations: 111.5 kB / 0.6632 GB, free: 5.633 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.4146, allocations: 270.6 kB / 0.6634 GB, free: 5.367 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.4157, allocations: 0.7638 MB / 0.6642 GB, free: 4.602 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4157, allocations: 4 kB / 0.6642 GB, free: 4.598 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4157, allocations: 0 / 0.6642 GB, free: 4.598 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.4157, allocations: 0 / 0.6642 GB, free: 4.598 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001756/0.4175, allocations: 0.9003 MB / 0.665 GB, free: 3.648 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.4175, allocations: 8.031 kB / 0.665 GB, free: 3.641 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.4177, allocations: 60.28 kB / 0.6651 GB, free: 3.582 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.4181, allocations: 383.8 kB / 0.6655 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.409e-05/0.4182, allocations: 88.95 kB / 0.6656 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.172e-05/0.4183, allocations: 59.97 kB / 0.6656 GB, free: 3.008 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.4193, allocations: 0.655 MB / 0.6663 GB, free: 2.332 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.4193, allocations: 0 / 0.6663 GB, free: 2.332 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.4194, allocations: 20 kB / 0.6663 GB, free: 2.312 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.4194, allocations: 17 kB / 0.6663 GB, free: 2.297 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.4205, allocations: 0.6792 MB / 0.667 GB, free: 1.617 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.4239, allocations: 2.756 MB / 0.6696 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.4255, allocations: 0.7786 MB / 0.6704 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.4262, allocations: 422.3 kB / 0.6708 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002352/0.4285, allocations: 2.643 MB / 0.6734 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.4286, allocations: 43 kB / 0.6734 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 2.274e-06/0.4286, allocations: 0 / 0.6734 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=67): time 0.00404/0.4326, allocations: 2.386 MB / 0.6758 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.4327, allocations: 59.97 kB / 0.6758 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.433, allocations: 305.7 kB / 0.6761 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.433, allocations: 37.7 kB / 0.6761 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.4331, allocations: 205.3 kB / 0.6763 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.4333, allocations: 228.6 kB / 0.6766 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.4333, allocations: 16 kB / 0.6766 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4335, allocations: 358.8 kB / 0.6769 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.434, allocations: 297 kB / 0.6772 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.4345, allocations: 366 kB / 0.6775 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.4356, allocations: 0.682 MB / 0.6782 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4356, allocations: 0 / 0.6782 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001546/0.4372, allocations: 0.9207 MB / 0.6791 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4372, allocations: 11.98 kB / 0.6791 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4372, allocations: 0 / 0.6791 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003764/0.4376, allocations: 132.8 kB / 0.6792 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.4381, allocations: 123.8 kB / 0.6794 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.4405, allocations: 2.244 MB / 0.6816 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.4408, allocations: 36 kB / 0.6816 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.4409, allocations: 23.98 kB / 0.6816 GB, free: 1.484 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002291/0.4411, allocations: 185.6 kB / 0.6818 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.4412, allocations: 51.44 kB / 0.6818 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.4432, allocations: 1.077 MB / 0.6829 GB, free: 160 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.4432, allocations: 11.94 kB / 0.6829 GB, free: 148 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4432, allocations: 4 kB / 0.6829 GB, free: 144 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.4432, allocations: 3.984 kB / 0.6829 GB, free: 140 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.185/0.6282, allocations: 1.866 MB / 0.6847 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.6283, allocations: 6.875 kB / 0.6847 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.6288, allocations: 120.4 kB / 0.6849 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000386/0.6292, allocations: 142.8 kB / 0.685 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.6293, allocations: 29.17 kB / 0.685 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.6314, allocations: 2.244 MB / 0.6872 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6314, allocations: 4.312 kB / 0.6872 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.6337, allocations: 1.517 MB / 0.6887 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.634, allocations: 200.5 kB / 0.6889 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.6341, allocations: 18.52 kB / 0.6889 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.6344, allocations: 34.47 kB / 0.6889 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.6346, allocations: 61.53 kB / 0.689 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.6346, allocations: 30.03 kB / 0.689 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001981/0.6348, allocations: 217 kB / 0.6892 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6348, allocations: 0 / 0.6892 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008143/0.6357, allocations: 290 kB / 0.6895 GB, free: 138.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006196/0.6363, allocations: 417.9 kB / 0.6899 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.6381, allocations: 1.045 MB / 0.6909 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6382, allocations: 0 / 0.6909 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.6392, allocations: 0.7055 MB / 0.6916 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.64, allocations: 151 kB / 0.6918 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.6419, allocations: 1.602 MB / 0.6933 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.6422, allocations: 0.8817 MB / 0.6942 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.6424, allocations: 68.31 kB / 0.6943 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of SimCode: time 3.01e-07/0.6424, allocations: 0 / 0.6943 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.01266/0.655, allocations: 13.51 MB / 0.7074 GB, free: 127.4 MB / 0.4948 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches