Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001335/0.001335, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001489/0.001489, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6751/0.6751, allocations: 94.56 MB / 407.8 MB, free: 9.152 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.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.002414/0.002414, allocations: 92.44 kB / 0.5562 GB, free: 38.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1073, allocations: 73.06 MB / 0.6275 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.0559/0.1632, allocations: 54.37 MB / 0.6806 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02441/0.1876, allocations: 21.8 MB / 0.7019 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.1891, allocations: 99.06 kB / 0.702 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.1914, allocations: 0.9119 MB / 0.7029 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004485/0.1959, allocations: 1.731 MB / 0.7046 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003593/0.1995, allocations: 1.368 MB / 0.7059 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003584/0.2031, allocations: 2.587 MB / 0.7085 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006335/0.2037, allocations: 318.7 kB / 0.7088 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.2057, allocations: 1.109 MB / 0.7098 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.2072, allocations: 0.9562 MB / 0.7108 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.2075, allocations: 128 kB / 0.7109 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.2109, allocations: 1.292 MB / 0.7122 GB, free: 8.953 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004224/0.2113, allocations: 346.3 kB / 0.7125 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.2124, allocations: 0.9049 MB / 0.7134 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004146/0.2165, allocations: 2.692 MB / 0.716 GB, free: 5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2165, allocations: 0 / 0.716 GB, free: 5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2165, allocations: 0 / 0.716 GB, free: 5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.2166, allocations: 0 / 0.716 GB, free: 5 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.00393/0.2205, allocations: 2.353 MB / 0.7183 GB, free: 2.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2205, allocations: 8.031 kB / 0.7183 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.2208, allocations: 230.5 kB / 0.7185 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.223, allocations: 1.179 MB / 0.7197 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/0.223, allocations: 90.28 kB / 0.7198 GB, free: 1.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.2232, allocations: 116 kB / 0.7199 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.2251, allocations: 1.222 MB / 0.7211 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.2251, allocations: 0 / 0.7211 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/0.2252, allocations: 55.94 kB / 0.7211 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.2252, allocations: 24 kB / 0.7211 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.2271, allocations: 1.172 MB / 0.7223 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/0.2333, allocations: 4.961 MB / 0.7271 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.2347, allocations: 0.8281 MB / 0.7279 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000681/0.2353, allocations: 418.3 kB / 0.7283 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00336/0.2387, allocations: 1.772 MB / 0.7301 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.2387, allocations: 43.5 kB / 0.7301 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 2.475e-06/0.2387, allocations: 4 kB / 0.7301 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.003294/0.242, allocations: 1.486 MB / 0.7316 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.2421, allocations: 60.41 kB / 0.7316 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.2437, allocations: 1.288 MB / 0.7329 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/0.2437, allocations: 41.7 kB / 0.7329 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006213/0.2443, allocations: 0.77 MB / 0.7337 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/0.2446, allocations: 372.8 kB / 0.734 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.2449, allocations: 170.6 kB / 0.7342 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.245, allocations: 341.9 kB / 0.7345 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/0.2456, allocations: 297.9 kB / 0.7348 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/0.2463, allocations: 445.9 kB / 0.7352 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.2476, allocations: 0.762 MB / 0.736 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.2476, allocations: 7.938 kB / 0.736 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002059/0.2497, allocations: 1.147 MB / 0.7371 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2497, allocations: 10.19 kB / 0.7371 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2497, allocations: 8 kB / 0.7371 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000541/0.2502, allocations: 162.5 kB / 0.7373 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.2509, allocations: 195.8 kB / 0.7375 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004111/0.255, allocations: 4.512 MB / 0.7419 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.2556, allocations: 87.34 kB / 0.742 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.951e-05/0.2557, allocations: 43.98 kB / 0.742 GB, free: 9.25 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (106): * Single equations (assignments): 103 * 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.0004457/0.2562, allocations: 281.6 kB / 0.7423 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.2564, allocations: 170.9 kB / 0.7424 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.2592, allocations: 1.633 MB / 0.744 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.2592, allocations: 15.94 kB / 0.744 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2592, allocations: 0 / 0.744 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.2593, allocations: 11.97 kB / 0.744 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/0.2634, allocations: 2.597 MB / 0.7466 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.2634, allocations: 4 kB / 0.7466 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.2639, allocations: 167.7 kB / 0.7467 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/0.2644, allocations: 162.4 kB / 0.7469 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.552e-05/0.2645, allocations: 39.97 kB / 0.7469 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2296/0.4941, allocations: 4.512 MB / 0.7513 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4941, allocations: 2.594 kB / 0.7513 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/0.4969, allocations: 1.624 MB / 0.7529 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.4974, allocations: 272 kB / 0.7532 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.4976, allocations: 29.53 kB / 0.7532 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.4981, allocations: 30.5 kB / 0.7533 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.4983, allocations: 85.86 kB / 0.7533 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.888e-05/0.4983, allocations: 38.77 kB / 0.7534 GB, free: 116.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001108/0.4994, allocations: 0.9068 MB / 0.7543 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4994, allocations: 1.719 kB / 0.7543 GB, free: 116.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001269/0.5007, allocations: 0.596 MB / 0.7548 GB, free: 116.3 MB / 0.5762 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 (92): * Single equations (assignments): 89 * 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.0008934/0.5016, allocations: 0.7312 MB / 0.7556 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.5032, allocations: 1.14 MB / 0.7567 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5032, allocations: 0 / 0.7567 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008608/0.5041, allocations: 0.7961 MB / 0.7574 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.5058, allocations: 0.5378 MB / 0.758 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.5093, allocations: 2.853 MB / 0.7608 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/0.5099, allocations: 1.257 MB / 0.762 GB, free: 113 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.5103, allocations: 148.5 kB / 0.7621 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.5103, allocations: 0 / 0.7621 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.04088/0.5512, allocations: 47.16 MB / 0.8082 GB, free: 76.02 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 10.851279611000791]