Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.0008377/0.0008377, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008322/0.0008322, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8905/0.8905, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.645/0.645, allocations: 116 MB / 376 MB, free: 4.207 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 3.984 kB / 0.5545 GB, free: 12.88 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.992e-05, allocations: 9.656 kB / 0.5545 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.03241/0.03243, allocations: 52.12 MB / 0.6054 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.0467, allocations: 17.44 MB / 0.6224 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.04794, allocations: 114.9 kB / 0.6225 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.04966, allocations: 0.8295 MB / 0.6233 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.05249, allocations: 1.893 MB / 0.6252 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.05508, allocations: 1.412 MB / 0.6266 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.05713, allocations: 2.946 MB / 0.6294 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.05754, allocations: 307 kB / 0.6297 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.05926, allocations: 1.601 MB / 0.6313 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/0.0599, allocations: 0.7592 MB / 0.632 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.06002, allocations: 124 kB / 0.6322 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.06199, allocations: 1.154 MB / 0.6333 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.06221, allocations: 358.2 kB / 0.6336 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.06261, allocations: 0.6311 MB / 0.6342 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002297/0.06491, allocations: 2.803 MB / 0.637 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.06492, allocations: 4 kB / 0.637 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.503e-06/0.06492, allocations: 0 / 0.637 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.06493, allocations: 0 / 0.637 GB, free: 8.062 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002763/0.06769, allocations: 2.439 MB / 0.6394 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.06773, allocations: 12.03 kB / 0.6394 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/0.06809, allocations: 278.4 kB / 0.6396 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.06952, allocations: 1.275 MB / 0.6409 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.06956, allocations: 86.33 kB / 0.641 GB, free: 3.891 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.06967, allocations: 124 kB / 0.6411 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.07088, allocations: 1.33 MB / 0.6424 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.0709, allocations: 4 kB / 0.6424 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.07096, allocations: 44 kB / 0.6424 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.07098, allocations: 31.94 kB / 0.6425 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.07213, allocations: 1.157 MB / 0.6436 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2618/0.334, allocations: 3.48 MB / 0.647 GB, free: 94.78 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.3351, allocations: 0.8401 MB / 0.6478 GB, free: 94.42 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.3356, allocations: 408.4 kB / 0.6482 GB, free: 94.26 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002469/0.3381, allocations: 1.485 MB / 0.6496 GB, free: 93.55 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.3381, allocations: 48.94 kB / 0.6497 GB, free: 93.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=103): time 3.837e-06/0.3382, allocations: 0 / 0.6497 GB, free: 93.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=103): time 0.002259/0.3404, allocations: 1.445 MB / 0.6511 GB, free: 93.05 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.3404, allocations: 61.22 kB / 0.6512 GB, free: 92.99 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.3415, allocations: 1.314 MB / 0.6524 GB, free: 92.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.3415, allocations: 47.55 kB / 0.6525 GB, free: 92.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.3419, allocations: 0.8261 MB / 0.6533 GB, free: 91.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.3421, allocations: 373.6 kB / 0.6537 GB, free: 91.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.3423, allocations: 179 kB / 0.6538 GB, free: 91.56 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.3423, allocations: 342.2 kB / 0.6541 GB, free: 91.24 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.3427, allocations: 286.7 kB / 0.6544 GB, free: 91.13 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.3431, allocations: 0.5408 MB / 0.655 GB, free: 90.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.3439, allocations: 0.7952 MB / 0.6557 GB, free: 90.27 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3439, allocations: 0.9375 kB / 0.6557 GB, free: 90.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001383/0.3453, allocations: 1.171 MB / 0.6569 GB, free: 89.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.3453, allocations: 6.734 kB / 0.6569 GB, free: 89.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3453, allocations: 5.25 kB / 0.6569 GB, free: 89.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004616/0.3458, allocations: 164 kB / 0.657 GB, free: 89.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.3462, allocations: 200.9 kB / 0.6572 GB, free: 89.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.3483, allocations: 4.405 MB / 0.6615 GB, free: 85.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006714/0.349, allocations: 90.06 kB / 0.6616 GB, free: 85.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.3491, allocations: 48.72 kB / 0.6617 GB, free: 85.55 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0004936/0.3496, allocations: 290.6 kB / 0.6619 GB, free: 85.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.3498, allocations: 184.5 kB / 0.6621 GB, free: 85.23 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.3517, allocations: 1.551 MB / 0.6636 GB, free: 84.54 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.3517, allocations: 9.188 kB / 0.6636 GB, free: 84.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3517, allocations: 3.766 kB / 0.6636 GB, free: 84.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.3517, allocations: 8.375 kB / 0.6637 GB, free: 84.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.3549, allocations: 2.164 MB / 0.6658 GB, free: 83.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3549, allocations: 1.75 kB / 0.6658 GB, free: 83.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.3553, allocations: 155.1 kB / 0.6659 GB, free: 83.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004403/0.3558, allocations: 167.8 kB / 0.6661 GB, free: 83.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/0.3558, allocations: 35.92 kB / 0.6661 GB, free: 83.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/0.3582, allocations: 4.405 MB / 0.6704 GB, free: 79.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3582, allocations: 3.484 kB / 0.6704 GB, free: 79.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.3603, allocations: 1.529 MB / 0.6719 GB, free: 78.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/0.3608, allocations: 264.1 kB / 0.6722 GB, free: 78.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3609, allocations: 35.28 kB / 0.6722 GB, free: 78.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.3612, allocations: 24.78 kB / 0.6722 GB, free: 78.35 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.3614, allocations: 84.17 kB / 0.6723 GB, free: 78.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.3615, allocations: 35.66 kB / 0.6723 GB, free: 78.33 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001015/0.3625, allocations: 0.9087 MB / 0.6732 GB, free: 77.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3625, allocations: 0 / 0.6732 GB, free: 77.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001389/0.3639, allocations: 0.582 MB / 0.6738 GB, free: 77.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0008561/0.3647, allocations: 0.6718 MB / 0.6744 GB, free: 77.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.3663, allocations: 1.121 MB / 0.6755 GB, free: 77.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3663, allocations: 0 / 0.6755 GB, free: 77.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007557/0.367, allocations: 0.7638 MB / 0.6763 GB, free: 76.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.369, allocations: 0.6766 MB / 0.6769 GB, free: 76.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/0.3732, allocations: 3.005 MB / 0.6799 GB, free: 74.87 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.3737, allocations: 0.7121 MB / 0.6806 GB, free: 74.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.3741, allocations: 144.2 kB / 0.6807 GB, free: 74.67 MB / 0.5573 GB Notification: Performance of SimCode: time 1.593e-06/0.3741, allocations: 0 / 0.6807 GB, free: 74.67 MB / 0.5573 GB Notification: Performance of Templates: time 0.03608/0.4102, allocations: 49.75 MB / 0.7293 GB, free: 28.79 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.338276635855436]