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.001541/0.001541, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001549/0.001549, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.495/1.495, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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 1.086/1.086, allocations: 118.6 MB / 378.2 MB, free: 1.469 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 482.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.74e-05, allocations: 3.719 kB / 482.9 MB, free: 8.305 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.07488/0.07491, allocations: 60.78 MB / 0.5309 GB, free: 4.102 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.02785/0.1028, allocations: 16.27 MB / 0.5468 GB, free: 3.777 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003262/0.106, allocations: 115 kB / 0.5469 GB, free: 3.664 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004269/0.1103, allocations: 1.109 MB / 0.548 GB, free: 2.547 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.1207, allocations: 3.123 MB / 0.5511 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005879/0.1265, allocations: 1.646 MB / 0.5527 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00807/0.1346, allocations: 4.386 MB / 0.5569 GB, free: 9.344 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.1363, allocations: 387.3 kB / 0.5573 GB, free: 8.938 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006091/0.1424, allocations: 2.384 MB / 0.5596 GB, free: 6.547 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00285/0.1452, allocations: 1.293 MB / 0.5609 GB, free: 5.25 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005469/0.1458, allocations: 192 kB / 0.5611 GB, free: 5.062 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006048/0.1518, allocations: 1.516 MB / 0.5626 GB, free: 3.543 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000769/0.1526, allocations: 0.5055 MB / 0.5631 GB, free: 3.035 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002051/0.1546, allocations: 0.9235 MB / 0.564 GB, free: 2.109 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008708/0.1633, allocations: 3.971 MB / 0.5678 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1633, allocations: 0 / 0.5678 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1633, allocations: 0 / 0.5678 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.901e-05/0.1634, allocations: 0 / 0.5678 GB, free: 14.12 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: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.007086/0.1705, allocations: 3.06 MB / 0.5708 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1705, allocations: 8.031 kB / 0.5708 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.1724, allocations: 0.557 MB / 0.5714 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.1755, allocations: 1.496 MB / 0.5728 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.1757, allocations: 144.1 kB / 0.573 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/0.176, allocations: 196.3 kB / 0.5732 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004291/0.1803, allocations: 2.235 MB / 0.5754 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.1803, allocations: 4.188 kB / 0.5754 GB, free: 6.289 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.1805, allocations: 88.05 kB / 0.5754 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/0.1805, allocations: 48 kB / 0.5755 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004278/0.1848, allocations: 2.291 MB / 0.5777 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.1966, allocations: 5.135 MB / 0.5827 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/0.2002, allocations: 1.797 MB / 0.5845 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.2021, allocations: 0.8815 MB / 0.5854 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007029/0.2091, allocations: 2.808 MB / 0.5881 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002171/0.2113, allocations: 1.109 MB / 0.5892 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=200): time 4.618e-06/0.2113, allocations: 0 / 0.5892 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200): time 0.007149/0.2184, allocations: 2.824 MB / 0.5919 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.2185, allocations: 154.5 kB / 0.5921 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.2207, allocations: 1.205 MB / 0.5933 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.2209, allocations: 65.7 kB / 0.5933 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009829/0.2218, allocations: 0.9073 MB / 0.5942 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007666/0.2226, allocations: 0.6931 MB / 0.5949 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005794/0.2232, allocations: 331.5 kB / 0.5952 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2234, allocations: 301.1 kB / 0.5955 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.2247, allocations: 0.6655 MB / 0.5961 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.2267, allocations: 1.189 MB / 0.5973 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/0.23, allocations: 1.66 MB / 0.5989 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.23, allocations: 0 / 0.5989 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005277/0.2353, allocations: 2.248 MB / 0.6011 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/0.2354, allocations: 36.36 kB / 0.6012 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.2354, allocations: 4 kB / 0.6012 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008235/0.2362, allocations: 174.4 kB / 0.6013 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.2378, allocations: 395.4 kB / 0.6017 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005401/0.2432, allocations: 4.451 MB / 0.606 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.2449, allocations: 172.9 kB / 0.6062 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.2451, allocations: 83.97 kB / 0.6063 GB, free: 5.793 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0008859/0.246, allocations: 365.5 kB / 0.6066 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006206/0.2466, allocations: 270.7 kB / 0.6069 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006559/0.2532, allocations: 3.097 MB / 0.6099 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/0.2532, allocations: 24 kB / 0.6099 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2532, allocations: 0 / 0.6099 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.521e-05/0.2532, allocations: 15.89 kB / 0.61 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008922/0.2622, allocations: 4.068 MB / 0.6139 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.2622, allocations: 3.938 kB / 0.6139 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.2636, allocations: 383.5 kB / 0.6143 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007716/0.2643, allocations: 186.3 kB / 0.6145 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.2645, allocations: 67.95 kB / 0.6145 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004936/0.2694, allocations: 4.444 MB / 0.6189 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2694, allocations: 0 / 0.6189 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006949/0.2764, allocations: 3.299 MB / 0.6221 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.2775, allocations: 449.7 kB / 0.6225 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/0.2777, allocations: 40 kB / 0.6226 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008576/0.2786, allocations: 55.97 kB / 0.6226 GB, free: 4.707 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/0.2789, allocations: 169.7 kB / 0.6228 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/0.2791, allocations: 79.97 kB / 0.6229 GB, free: 4.461 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001332/0.2805, allocations: 0.8308 MB / 0.6237 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.2805, allocations: 4 kB / 0.6237 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002574/0.283, allocations: 0.8655 MB / 0.6245 GB, free: 2.766 MB / 0.5417 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 (213): * Single equations (assignments): 208 * 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.001484/0.2845, allocations: 0.7791 MB / 0.6253 GB, free: 1.996 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004587/0.2891, allocations: 2.142 MB / 0.6274 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2891, allocations: 0 / 0.6274 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.2915, allocations: 1.301 MB / 0.6286 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/0.2955, allocations: 0.8842 MB / 0.6295 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.3067, allocations: 4.333 MB / 0.6337 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.308, allocations: 0.9152 MB / 0.6346 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00197/0.31, allocations: 490.8 kB / 0.6351 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006159/0.3106, allocations: 236.4 kB / 0.6353 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of SimCode: time 1.322e-06/0.3106, allocations: 0 / 0.6353 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of Templates: time 0.3073/0.6179, allocations: 44.43 MB / 0.6787 GB, free: 147.2 MB / 0.5573 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.995904778013937]