Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0008154/0.0008154, allocations: 80.94 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.001019/0.001019, allocations: 173 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 1.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.7079/0.7079, allocations: 118.7 MB / 378.9 MB, free: 1.375 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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_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_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 430.8 MB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.854e-05, allocations: 5.266 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.3203/0.3203, allocations: 131 MB / 0.5487 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3222, allocations: 1.934 MB / 0.5506 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.3224, allocations: 39.62 kB / 0.5506 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.3228, allocations: 162.7 kB / 0.5508 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006634/0.3235, allocations: 0.5415 MB / 0.5513 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.3239, allocations: 271.1 kB / 0.5516 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007204/0.3246, allocations: 1.11 MB / 0.5526 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.3248, allocations: 117.1 kB / 0.5527 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006158/0.3254, allocations: 0.5959 MB / 0.5533 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.3258, allocations: 422.8 kB / 0.5537 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.854e-05/0.3258, allocations: 44 kB / 0.5538 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.3261, allocations: 239.6 kB / 0.554 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.3262, allocations: 123.3 kB / 0.5541 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.3264, allocations: 223.5 kB / 0.5543 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005604/0.3269, allocations: 0.6459 MB / 0.555 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3269, allocations: 0 / 0.555 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3269, allocations: 0 / 0.555 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3269, allocations: 0 / 0.555 GB, free: 1.871 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.0008718/0.3278, allocations: 0.8795 MB / 0.5558 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.3278, allocations: 12.03 kB / 0.5558 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.3281, allocations: 128.6 kB / 0.556 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.3286, allocations: 481.4 kB / 0.5564 GB, free: 344 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.3286, allocations: 29.38 kB / 0.5564 GB, free: 316 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.3286, allocations: 48.31 kB / 0.5565 GB, free: 268 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.329, allocations: 364.7 kB / 0.5568 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.329, allocations: 192 / 0.5568 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.329, allocations: 20.36 kB / 0.5569 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.329, allocations: 15.94 kB / 0.5569 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.3292, allocations: 173.6 kB / 0.557 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.3303, allocations: 1.143 MB / 0.5582 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.3306, allocations: 205.6 kB / 0.5584 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.82e-05/0.3307, allocations: 98.3 kB / 0.5584 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000864/0.3316, allocations: 0.6294 MB / 0.5591 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.3316, allocations: 43 kB / 0.5591 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 1.403e-06/0.3316, allocations: 0 / 0.5591 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.0005413/0.3322, allocations: 363.6 kB / 0.5594 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.3322, allocations: 59.91 kB / 0.5595 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.3324, allocations: 411.1 kB / 0.5599 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3324, allocations: 33.7 kB / 0.5599 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3325, allocations: 221.9 kB / 0.5601 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.3326, allocations: 178.5 kB / 0.5603 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.3327, allocations: 78.16 kB / 0.5604 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.3328, allocations: 366.7 kB / 0.5607 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.268e-05/0.3328, allocations: 48.91 kB / 0.5608 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.3329, allocations: 101.7 kB / 0.5609 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.3331, allocations: 192 kB / 0.5611 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3331, allocations: 4 kB / 0.5611 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002967/0.3334, allocations: 280 kB / 0.5613 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.3334, allocations: 8 kB / 0.5613 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3334, allocations: 0 / 0.5613 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.3336, allocations: 61.73 kB / 0.5614 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.3338, allocations: 87.89 kB / 0.5615 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.3349, allocations: 2.398 MB / 0.5638 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.335, allocations: 39.98 kB / 0.5639 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.335, allocations: 12 kB / 0.5639 GB, free: 8.336 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.0001047/0.3352, allocations: 128.6 kB / 0.564 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.3352, allocations: 51.94 kB / 0.564 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/0.3357, allocations: 0.5008 MB / 0.5645 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3357, allocations: 4 kB / 0.5645 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3357, allocations: 0 / 0.5645 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3358, allocations: 0 / 0.5645 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.3364, allocations: 0.6628 MB / 0.5652 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3364, allocations: 0.875 kB / 0.5652 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.3366, allocations: 72.02 kB / 0.5653 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.3367, allocations: 57.66 kB / 0.5653 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.3367, allocations: 12 kB / 0.5653 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.3377, allocations: 2.409 MB / 0.5677 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3377, allocations: 3.938 kB / 0.5677 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.3381, allocations: 444.9 kB / 0.5681 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.3382, allocations: 71.62 kB / 0.5682 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.3382, allocations: 15.94 kB / 0.5682 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3383, allocations: 12 kB / 0.5682 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.3384, allocations: 35.88 kB / 0.5682 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3384, allocations: 15.98 kB / 0.5682 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001258/0.3385, allocations: 188.4 kB / 0.5684 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3385, allocations: 0 / 0.5684 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000296/0.3388, allocations: 179.7 kB / 0.5686 GB, free: 3.219 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.0001451/0.339, allocations: 124.3 kB / 0.5687 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003799/0.3394, allocations: 431.5 kB / 0.5691 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.3394, allocations: 12 kB / 0.5691 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.3396, allocations: 362.1 kB / 0.5695 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.3401, allocations: 221.8 kB / 0.5697 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3415, allocations: 1.063 MB / 0.5707 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.3416, allocations: 126 kB / 0.5709 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.3418, allocations: 115 kB / 0.571 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.3421, allocations: 205.2 kB / 0.5712 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/0.3421, allocations: 4 kB / 0.5712 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of Templates: time 0.01162/0.3537, allocations: 10.4 MB / 0.5813 GB, free: 6.406 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.809445143211633]