Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.0009703/0.0009703, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001253/0.001253, allocations: 173 kB / 23.49 MB, free: 1.059 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.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.7051/0.7051, allocations: 118.6 MB / 378.9 MB, free: 1.504 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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 483.6 MB, free: 8.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.868e-05, allocations: 3.406 kB / 483.6 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.03597/0.036, allocations: 40.9 MB / 0.5122 GB, free: 8.066 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.04857, allocations: 13.89 MB / 0.5258 GB, free: 10.14 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.04965, allocations: 79.25 kB / 0.5259 GB, free: 10.06 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.05112, allocations: 0.9088 MB / 0.5268 GB, free: 9.145 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.05377, allocations: 1.517 MB / 0.5282 GB, free: 7.617 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.05596, allocations: 1.109 MB / 0.5293 GB, free: 6.504 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.05808, allocations: 2.259 MB / 0.5315 GB, free: 4.23 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.05844, allocations: 215.9 kB / 0.5317 GB, free: 4 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.06011, allocations: 1.457 MB / 0.5332 GB, free: 2.539 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005943/0.06071, allocations: 0.5723 MB / 0.5337 GB, free: 1.965 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.06082, allocations: 92 kB / 0.5338 GB, free: 1.875 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.06237, allocations: 0.8109 MB / 0.5346 GB, free: 1.062 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.0626, allocations: 342.4 kB / 0.5349 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003724/0.06297, allocations: 498.5 kB / 0.5354 GB, free: 244 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.06486, allocations: 1.841 MB / 0.5372 GB, free: 14.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.06487, allocations: 0 / 0.5372 GB, free: 14.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.06487, allocations: 0 / 0.5372 GB, free: 14.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.06489, allocations: 0 / 0.5372 GB, free: 14.39 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002185/0.06707, allocations: 2.28 MB / 0.5394 GB, free: 12.06 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.06711, allocations: 8.031 kB / 0.5394 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004072/0.06752, allocations: 311.4 kB / 0.5397 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.06885, allocations: 1.282 MB / 0.541 GB, free: 10.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.06889, allocations: 70.31 kB / 0.541 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.258e-05/0.06897, allocations: 88.31 kB / 0.5411 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.06975, allocations: 0.7191 MB / 0.5418 GB, free: 9.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.06976, allocations: 7.938 kB / 0.5418 GB, free: 9.492 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.06981, allocations: 32 kB / 0.5419 GB, free: 9.461 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.06982, allocations: 20 kB / 0.5419 GB, free: 9.441 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.07036, allocations: 399.6 kB / 0.5423 GB, free: 9.051 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.07295, allocations: 2.89 MB / 0.5451 GB, free: 6.082 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.07362, allocations: 0.5226 MB / 0.5456 GB, free: 5.551 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.07389, allocations: 198.3 kB / 0.5458 GB, free: 5.355 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.07521, allocations: 1.125 MB / 0.5469 GB, free: 4.207 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.07524, allocations: 46.05 kB / 0.5469 GB, free: 4.152 MB / 474.7 MB Notification: Performance of pre-optimization done (n=73): time 1.763e-06/0.07524, allocations: 0 / 0.5469 GB, free: 4.152 MB / 474.7 MB Notification: Performance of matching and sorting (n=73): time 0.001319/0.07656, allocations: 0.8434 MB / 0.5478 GB, free: 3.293 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.07659, allocations: 60.06 kB / 0.5478 GB, free: 3.223 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.07765, allocations: 1.332 MB / 0.5491 GB, free: 1.875 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.07769, allocations: 37.7 kB / 0.5491 GB, free: 1.832 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.07808, allocations: 0.7502 MB / 0.5499 GB, free: 1.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.07823, allocations: 261.7 kB / 0.5501 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.07837, allocations: 164.2 kB / 0.5503 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.0785, allocations: 0.4965 MB / 0.5508 GB, free: 144 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.07866, allocations: 113.9 kB / 0.5509 GB, free: 32 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.079, allocations: 490.7 kB / 0.5513 GB, free: 15.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.07948, allocations: 436.8 kB / 0.5518 GB, free: 14.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.07949, allocations: 0 / 0.5518 GB, free: 14.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0008355/0.08032, allocations: 0.7062 MB / 0.5525 GB, free: 14.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.08034, allocations: 8 kB / 0.5525 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.08035, allocations: 0 / 0.5525 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/0.08073, allocations: 127.6 kB / 0.5526 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.08101, allocations: 143.8 kB / 0.5527 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.08283, allocations: 3.739 MB / 0.5564 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.08311, allocations: 75.5 kB / 0.5564 GB, free: 9.891 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.08315, allocations: 32 kB / 0.5565 GB, free: 9.859 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (79): * Single equations (assignments): 77 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.08336, allocations: 200.4 kB / 0.5567 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.08351, allocations: 190.9 kB / 0.5568 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.08458, allocations: 0.9432 MB / 0.5578 GB, free: 8.504 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.08459, allocations: 4 kB / 0.5578 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.08459, allocations: 7.938 kB / 0.5578 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.0846, allocations: 3.984 kB / 0.5578 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.08621, allocations: 1.629 MB / 0.5594 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.08621, allocations: 0 / 0.5594 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.08643, allocations: 111.8 kB / 0.5595 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002867/0.08671, allocations: 139.2 kB / 0.5596 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.08675, allocations: 23.98 kB / 0.5596 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.08834, allocations: 3.742 MB / 0.5633 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.08835, allocations: 4 kB / 0.5633 GB, free: 2.523 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.08932, allocations: 0.9695 MB / 0.5642 GB, free: 1.508 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.08958, allocations: 268.5 kB / 0.5645 GB, free: 1.242 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.42e-05/0.08966, allocations: 19.94 kB / 0.5645 GB, free: 1.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.08988, allocations: 16 kB / 0.5645 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.08996, allocations: 60.55 kB / 0.5646 GB, free: 1.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.08999, allocations: 23.98 kB / 0.5646 GB, free: 1.125 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006764/0.09067, allocations: 0.8125 MB / 0.5654 GB, free: 328 kB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09067, allocations: 0 / 0.5654 GB, free: 328 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006963/0.09136, allocations: 427.2 kB / 0.5658 GB, free: 15.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.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 (63): * Single equations (assignments): 61 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.09241, allocations: 0.7081 MB / 0.5665 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007793/0.09319, allocations: 0.7634 MB / 0.5673 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.09319, allocations: 0 / 0.5673 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.09362, allocations: 0.586 MB / 0.5678 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.09482, allocations: 0.5309 MB / 0.5683 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.09767, allocations: 2.433 MB / 0.5707 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.09784, allocations: 260.4 kB / 0.571 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004597/0.0983, allocations: 252.5 kB / 0.5712 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.09848, allocations: 124.5 kB / 0.5713 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of SimCode: time 9.61e-07/0.09849, allocations: 4 kB / 0.5713 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.02522/0.1237, allocations: 23.89 MB / 0.5947 GB, free: 2.84 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_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: 4.243048782926053]