Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009682/0.0009682, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9441/0.9441, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.678/0.678, allocations: 118.6 MB / 378.9 MB, free: 1.344 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.452e-05, allocations: 6.109 kB / 430.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.3113/0.3113, allocations: 131 MB / 0.5487 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.3141, allocations: 1.942 MB / 0.5506 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004366/0.3145, allocations: 43.62 kB / 0.5506 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.3151, allocations: 162.7 kB / 0.5508 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.3161, allocations: 0.5376 MB / 0.5513 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.3167, allocations: 275.1 kB / 0.5516 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009928/0.3176, allocations: 1.106 MB / 0.5526 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.3178, allocations: 109.1 kB / 0.5527 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008/0.3186, allocations: 0.6037 MB / 0.5533 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.3191, allocations: 422.9 kB / 0.5537 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.3191, allocations: 40 kB / 0.5538 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.3195, allocations: 235.6 kB / 0.554 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.072e-05/0.3196, allocations: 131.3 kB / 0.5541 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.3198, allocations: 223.4 kB / 0.5543 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.3204, allocations: 0.6421 MB / 0.555 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3204, allocations: 0 / 0.555 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.001e-06/0.3204, allocations: 0 / 0.555 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3204, allocations: 0 / 0.555 GB, free: 1.809 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001226/0.3216, allocations: 0.8795 MB / 0.5558 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.3217, allocations: 12.03 kB / 0.5558 GB, free: 0.8945 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.322, allocations: 132.6 kB / 0.556 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.3225, allocations: 481.4 kB / 0.5564 GB, free: 276 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.3225, allocations: 33.31 kB / 0.5565 GB, free: 244 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.457e-05/0.3226, allocations: 48.38 kB / 0.5565 GB, free: 196 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.3231, allocations: 364.6 kB / 0.5568 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3231, allocations: 192 / 0.5568 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.3232, allocations: 16.38 kB / 0.5569 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.3232, allocations: 11.94 kB / 0.5569 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.3235, allocations: 173.6 kB / 0.557 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.3247, allocations: 1.147 MB / 0.5582 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.3251, allocations: 204.5 kB / 0.5584 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.851e-05/0.3252, allocations: 90.31 kB / 0.5584 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009051/0.3261, allocations: 0.6411 MB / 0.5591 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.3261, allocations: 39 kB / 0.5591 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 1.623e-06/0.3261, allocations: 0 / 0.5591 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.0005512/0.3266, allocations: 363.6 kB / 0.5595 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.3267, allocations: 55.91 kB / 0.5595 GB, free: 13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.3269, allocations: 411.1 kB / 0.5599 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.3269, allocations: 37.7 kB / 0.5599 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.327, allocations: 217.9 kB / 0.5601 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.501e-05/0.3271, allocations: 174.5 kB / 0.5603 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.3271, allocations: 78.16 kB / 0.5604 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.3272, allocations: 370.7 kB / 0.5607 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.3273, allocations: 48.97 kB / 0.5608 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3274, allocations: 105.7 kB / 0.5609 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.3276, allocations: 194.1 kB / 0.5611 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3276, allocations: 5.75 kB / 0.5611 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003132/0.3279, allocations: 276 kB / 0.5613 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3279, allocations: 8 kB / 0.5613 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3279, allocations: 0 / 0.5613 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.3281, allocations: 65.72 kB / 0.5614 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.3283, allocations: 87.89 kB / 0.5615 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.3298, allocations: 2.393 MB / 0.5638 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.3299, allocations: 32.91 kB / 0.5639 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.33, allocations: 15.98 kB / 0.5639 GB, free: 8.273 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.3301, allocations: 136.6 kB / 0.564 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.3301, allocations: 43.95 kB / 0.564 GB, free: 8.086 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.3307, allocations: 0.5025 MB / 0.5645 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3307, allocations: 4 kB / 0.5645 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.3307, allocations: 0 / 0.5645 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3307, allocations: 0 / 0.5645 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006902/0.3314, allocations: 0.6589 MB / 0.5652 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3314, allocations: 0 / 0.5652 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.3315, allocations: 68.78 kB / 0.5653 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/0.3316, allocations: 65.77 kB / 0.5653 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.3317, allocations: 12 kB / 0.5653 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.3327, allocations: 2.405 MB / 0.5677 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3327, allocations: 0 / 0.5677 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.3331, allocations: 452.8 kB / 0.5681 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.013e-05/0.3332, allocations: 71.53 kB / 0.5682 GB, free: 3.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.3333, allocations: 20.02 kB / 0.5682 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3334, allocations: 8 kB / 0.5682 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.3334, allocations: 39.88 kB / 0.5682 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.3335, allocations: 15.98 kB / 0.5683 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001309/0.3336, allocations: 188.4 kB / 0.5684 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.3336, allocations: 0 / 0.5684 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003701/0.334, allocations: 179.7 kB / 0.5686 GB, free: 3.148 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001732/0.3341, allocations: 112.2 kB / 0.5687 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006956/0.3348, allocations: 439.5 kB / 0.5691 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.3348, allocations: 12 kB / 0.5691 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.3351, allocations: 362.2 kB / 0.5695 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.3356, allocations: 229.8 kB / 0.5697 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.3372, allocations: 1.053 MB / 0.5707 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.658e-05/0.3373, allocations: 130 kB / 0.5709 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002698/0.3376, allocations: 107 kB / 0.571 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/0.3379, allocations: 205.2 kB / 0.5712 GB, free: 448 kB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/0.3379, allocations: 0 / 0.5712 GB, free: 448 kB / 0.5105 GB Notification: Performance of Templates: time 0.01392/0.3518, allocations: 10.4 MB / 0.5813 GB, free: 6.34 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.803350742906332]