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.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.001501/0.001501, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.00167/0.00167, allocations: 215.8 kB / 23.01 MB, free: 4.609 MB / 14.72 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.7215/0.7215, allocations: 100.3 MB / 413.5 MB, free: 3.703 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 89.62 kB / 0.5645 GB, free: 35.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1162, allocations: 74.47 MB / 0.6372 GB, free: 7.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.07454/0.1908, allocations: 66.37 MB / 0.702 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02356/0.2143, allocations: 17.69 MB / 0.7193 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002599/0.2169, allocations: 118.9 kB / 0.7194 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003549/0.2205, allocations: 1.191 MB / 0.7206 GB, free: 1.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008151/0.2286, allocations: 2.882 MB / 0.7234 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005035/0.2337, allocations: 1.589 MB / 0.7249 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006332/0.24, allocations: 3.91 MB / 0.7288 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.2411, allocations: 399 kB / 0.7291 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.2447, allocations: 1.669 MB / 0.7308 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.2474, allocations: 1.567 MB / 0.7323 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007701/0.2482, allocations: 192 kB / 0.7325 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/0.2538, allocations: 1.767 MB / 0.7342 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008827/0.2547, allocations: 497.8 kB / 0.7347 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002378/0.257, allocations: 1.259 MB / 0.7359 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008784/0.2658, allocations: 3.845 MB / 0.7397 GB, free: 13.87 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2658, allocations: 8 kB / 0.7397 GB, free: 13.86 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2658, allocations: 0 / 0.7397 GB, free: 13.86 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001265/0.266, allocations: 3.938 kB / 0.7397 GB, free: 13.86 MB / 0.5763 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.007172/0.2731, allocations: 2.99 MB / 0.7426 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2732, allocations: 12.02 kB / 0.7426 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007212/0.2739, allocations: 295.2 kB / 0.7429 GB, free: 10.52 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.277, allocations: 1.39 MB / 0.7443 GB, free: 9.082 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.2771, allocations: 144.1 kB / 0.7444 GB, free: 8.941 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/0.2775, allocations: 192.4 kB / 0.7446 GB, free: 8.754 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004239/0.2818, allocations: 2.198 MB / 0.7467 GB, free: 6.523 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.2818, allocations: 4 kB / 0.7467 GB, free: 6.52 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.282, allocations: 76 kB / 0.7468 GB, free: 6.445 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.282, allocations: 44 kB / 0.7468 GB, free: 6.402 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004048/0.2861, allocations: 2.349 MB / 0.7491 GB, free: 4.051 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3012/0.5872, allocations: 8.915 MB / 0.7578 GB, free: 105.8 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/0.59, allocations: 1.786 MB / 0.7596 GB, free: 105.1 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.5914, allocations: 0.8973 MB / 0.7605 GB, free: 104.7 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006035/0.5974, allocations: 3.178 MB / 0.7636 GB, free: 103.3 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/0.5992, allocations: 0.9611 MB / 0.7645 GB, free: 103 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=200): time 4.418e-06/0.5992, allocations: 0 / 0.7645 GB, free: 103 MB / 0.5763 GB Notification: Performance of matching and sorting (n=200): time 0.005731/0.6049, allocations: 2.804 MB / 0.7672 GB, free: 102 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.6049, allocations: 74.72 kB / 0.7673 GB, free: 101.9 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.6067, allocations: 1.233 MB / 0.7685 GB, free: 101.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.6069, allocations: 58.52 kB / 0.7686 GB, free: 101.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/0.6075, allocations: 0.8781 MB / 0.7694 GB, free: 100.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004803/0.608, allocations: 0.697 MB / 0.7701 GB, free: 100.3 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004177/0.6084, allocations: 331.4 kB / 0.7704 GB, free: 100.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.6084, allocations: 305.6 kB / 0.7707 GB, free: 99.86 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.6095, allocations: 0.6575 MB / 0.7714 GB, free: 99.61 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.6108, allocations: 0.8946 MB / 0.7722 GB, free: 99.14 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002754/0.6135, allocations: 1.68 MB / 0.7739 GB, free: 98.25 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.6135, allocations: 1.094 kB / 0.7739 GB, free: 98.25 MB / 0.5763 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003775/0.6173, allocations: 2.172 MB / 0.776 GB, free: 97.32 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.6174, allocations: 33.36 kB / 0.776 GB, free: 97.29 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.6174, allocations: 3.938 kB / 0.776 GB, free: 97.29 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/0.6179, allocations: 161.2 kB / 0.7762 GB, free: 97.23 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.6192, allocations: 399.4 kB / 0.7766 GB, free: 97.18 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.6221, allocations: 4.537 MB / 0.781 GB, free: 93 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.6231, allocations: 170.8 kB / 0.7812 GB, free: 92.92 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.6233, allocations: 85.95 kB / 0.7812 GB, free: 92.9 MB / 0.5763 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.0006938/0.624, allocations: 360.3 kB / 0.7816 GB, free: 92.63 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.6243, allocations: 214.3 kB / 0.7818 GB, free: 92.51 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004732/0.6291, allocations: 3.421 MB / 0.7851 GB, free: 90.62 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.6291, allocations: 19.84 kB / 0.7852 GB, free: 90.62 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6291, allocations: 7.953 kB / 0.7852 GB, free: 90.62 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.6291, allocations: 7.969 kB / 0.7852 GB, free: 90.61 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006555/0.6357, allocations: 4.754 MB / 0.7898 GB, free: 87.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.6357, allocations: 3.984 kB / 0.7898 GB, free: 87.67 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.6368, allocations: 403.7 kB / 0.7902 GB, free: 87.58 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/0.6373, allocations: 169.5 kB / 0.7904 GB, free: 87.48 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/0.6375, allocations: 75.98 kB / 0.7904 GB, free: 87.43 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/0.6402, allocations: 4.528 MB / 0.7949 GB, free: 83.09 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6402, allocations: 4 kB / 0.7949 GB, free: 83.09 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005292/0.6455, allocations: 3.36 MB / 0.7981 GB, free: 81.16 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.6465, allocations: 473.2 kB / 0.7986 GB, free: 80.74 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003767/0.6469, allocations: 46.73 kB / 0.7986 GB, free: 80.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/0.6478, allocations: 59.97 kB / 0.7987 GB, free: 80.64 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.6481, allocations: 187.6 kB / 0.7989 GB, free: 80.46 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.6482, allocations: 87.95 kB / 0.799 GB, free: 80.37 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.000978/0.6492, allocations: 0.8587 MB / 0.7998 GB, free: 79.52 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6492, allocations: 0.9688 kB / 0.7998 GB, free: 79.52 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.002248/0.6515, allocations: 0.8655 MB / 0.8006 GB, free: 78.66 MB / 0.5763 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.001191/0.6527, allocations: 0.8432 MB / 0.8015 GB, free: 77.94 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.003437/0.6561, allocations: 2.161 MB / 0.8036 GB, free: 75.73 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6561, allocations: 1.125 kB / 0.8036 GB, free: 75.73 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.6579, allocations: 1.362 MB / 0.8049 GB, free: 74.34 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/0.6607, allocations: 0.6617 MB / 0.8056 GB, free: 73.71 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006168/0.6669, allocations: 3.981 MB / 0.8094 GB, free: 69.67 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008872/0.6678, allocations: 1.468 MB / 0.8109 GB, free: 68.17 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000805/0.6686, allocations: 271.3 kB / 0.8111 GB, free: 67.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.092e-06/0.6686, allocations: 0 / 0.8111 GB, free: 67.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.0583/0.7269, allocations: 64.28 MB / 0.8739 GB, free: 3.723 MB / 0.5763 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/jenkins1/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: 11.288848645985126]