Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6327/0.6327, allocations: 94.57 MB / 399.1 MB, free: 15.79 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 87.84 kB / 0.5448 GB, free: 12.06 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.38, allocations: 71.83 MB / 0.615 GB, free: 4.105 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.07318/0.4532, allocations: 66.33 MB / 0.6797 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02378/0.477, allocations: 17.7 MB / 0.697 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002484/0.4794, allocations: 79.5 kB / 0.6971 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.4827, allocations: 1.195 MB / 0.6983 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008691/0.4914, allocations: 2.862 MB / 0.7011 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004934/0.4964, allocations: 1.561 MB / 0.7026 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005993/0.5023, allocations: 3.883 MB / 0.7064 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008894/0.5032, allocations: 390.6 kB / 0.7068 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/0.5065, allocations: 1.63 MB / 0.7083 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.5088, allocations: 1.567 MB / 0.7099 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005051/0.5093, allocations: 192 kB / 0.7101 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005167/0.5145, allocations: 1.728 MB / 0.7118 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008678/0.5154, allocations: 493.8 kB / 0.7122 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001956/0.5173, allocations: 1.263 MB / 0.7135 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008532/0.5258, allocations: 3.843 MB / 0.7172 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5259, allocations: 0 / 0.7172 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5259, allocations: 7.938 kB / 0.7172 GB, free: 11.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.525e-05/0.5259, allocations: 0 / 0.7172 GB, free: 11.99 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.006678/0.5326, allocations: 3.073 MB / 0.7202 GB, free: 8.848 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5326, allocations: 8.031 kB / 0.7202 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005904/0.5332, allocations: 295.1 kB / 0.7205 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/0.536, allocations: 1.493 MB / 0.722 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.5361, allocations: 140.1 kB / 0.7221 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003044/0.5364, allocations: 200.3 kB / 0.7223 GB, free: 6.676 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/0.5405, allocations: 2.155 MB / 0.7244 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.5405, allocations: 4 kB / 0.7244 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.5407, allocations: 79.98 kB / 0.7245 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.5407, allocations: 48 kB / 0.7245 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004146/0.5448, allocations: 2.267 MB / 0.7267 GB, free: 2.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.557, allocations: 8.97 MB / 0.7355 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/0.5604, allocations: 1.781 MB / 0.7372 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.5621, allocations: 0.8813 MB / 0.7381 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009383/0.5715, allocations: 6.785 MB / 0.7447 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001978/0.5735, allocations: 0.9561 MB / 0.7457 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=200): time 4.949e-06/0.5735, allocations: 0 / 0.7457 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=200): time 0.006696/0.5802, allocations: 3.003 MB / 0.7486 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.5803, allocations: 81.39 kB / 0.7487 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.582, allocations: 1.233 MB / 0.7499 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001945/0.5822, allocations: 57.7 kB / 0.7499 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008089/0.583, allocations: 0.8801 MB / 0.7508 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007118/0.5838, allocations: 0.697 MB / 0.7515 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005291/0.5843, allocations: 327.5 kB / 0.7518 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5844, allocations: 305.1 kB / 0.7521 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.5858, allocations: 0.6598 MB / 0.7527 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.5874, allocations: 0.8833 MB / 0.7536 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003173/0.5906, allocations: 1.666 MB / 0.7552 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.5906, allocations: 3.938 kB / 0.7552 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004607/0.5952, allocations: 2.16 MB / 0.7573 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.174e-05/0.5953, allocations: 33.7 kB / 0.7573 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.5953, allocations: 4 kB / 0.7573 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.5959, allocations: 162.4 kB / 0.7575 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.5974, allocations: 399.5 kB / 0.7579 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004755/0.6021, allocations: 4.837 MB / 0.7626 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.6034, allocations: 166.8 kB / 0.7628 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.6037, allocations: 87.97 kB / 0.7629 GB, free: 10.59 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 1 * 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.0008109/0.6045, allocations: 377.3 kB / 0.7632 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004714/0.605, allocations: 206.6 kB / 0.7634 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006793/0.6118, allocations: 3.401 MB / 0.7667 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.6118, allocations: 24 kB / 0.7668 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.6118, allocations: 4 kB / 0.7668 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.937e-05/0.6118, allocations: 19.94 kB / 0.7668 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009503/0.6213, allocations: 4.776 MB / 0.7714 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.6213, allocations: 4 kB / 0.7714 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/0.6229, allocations: 399.5 kB / 0.7718 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006556/0.6236, allocations: 170.5 kB / 0.772 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/0.6237, allocations: 71.95 kB / 0.7721 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005011/0.6288, allocations: 4.841 MB / 0.7768 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.6288, allocations: 3.938 kB / 0.7768 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006922/0.6357, allocations: 3.317 MB / 0.78 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/0.6368, allocations: 0.5417 MB / 0.7806 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/0.6371, allocations: 47.94 kB / 0.7806 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008594/0.638, allocations: 59.97 kB / 0.7807 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003627/0.6383, allocations: 177.7 kB / 0.7808 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.6385, allocations: 87.95 kB / 0.7809 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001277/0.6398, allocations: 0.8587 MB / 0.7817 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.6398, allocations: 0 / 0.7817 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002426/0.6422, allocations: 0.8653 MB / 0.7826 GB, free: 5.848 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001375/0.6436, allocations: 0.8452 MB / 0.7834 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004259/0.6478, allocations: 2.142 MB / 0.7855 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.6478, allocations: 8 kB / 0.7855 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/0.6504, allocations: 1.35 MB / 0.7868 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003054/0.6534, allocations: 0.6574 MB / 0.7875 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007562/0.661, allocations: 3.928 MB / 0.7913 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.6623, allocations: 1.475 MB / 0.7928 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001846/0.6641, allocations: 0.5015 MB / 0.7932 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006875/0.6648, allocations: 243.3 kB / 0.7935 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of SimCode: time 1.473e-06/0.6648, allocations: 0 / 0.7935 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.07525/0.7401, allocations: 42.49 MB / 0.835 GB, free: 344 kB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.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: 7.333264754153788]