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.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.001825/0.001825, allocations: 110.4 kB / 18.68 MB, free: 3.316 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.002136/0.002136, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 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.541/1.541, allocations: 225.6 MB / 250.6 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7481/0.7481, allocations: 94.6 MB / 400.4 MB, free: 15.84 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-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.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 0.002503/0.002503, allocations: 90.97 kB / 0.5464 GB, free: 42.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1126, allocations: 71.85 MB / 0.6166 GB, free: 8.609 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.06209/0.1747, allocations: 54.3 MB / 0.6696 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02648/0.2011, allocations: 21.82 MB / 0.6909 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.2026, allocations: 71.5 kB / 0.691 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.2049, allocations: 0.908 MB / 0.6919 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.2094, allocations: 1.728 MB / 0.6935 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.213, allocations: 1.341 MB / 0.6949 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00351/0.2165, allocations: 2.563 MB / 0.6974 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00059/0.2171, allocations: 318.2 kB / 0.6977 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.219, allocations: 1.077 MB / 0.6987 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.2202, allocations: 0.9561 MB / 0.6996 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002214/0.2204, allocations: 128 kB / 0.6998 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003618/0.224, allocations: 1.276 MB / 0.701 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003764/0.2244, allocations: 338.4 kB / 0.7013 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.2254, allocations: 0.9049 MB / 0.7022 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004975/0.2304, allocations: 2.692 MB / 0.7049 GB, free: 13.85 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2304, allocations: 0 / 0.7049 GB, free: 13.85 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2304, allocations: 0 / 0.7049 GB, free: 13.85 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.303e-05/0.2304, allocations: 0 / 0.7049 GB, free: 13.85 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.004529/0.2349, allocations: 2.421 MB / 0.7072 GB, free: 11.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.235, allocations: 12.03 kB / 0.7072 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003934/0.2354, allocations: 230.5 kB / 0.7074 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.2379, allocations: 1.306 MB / 0.7087 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.2379, allocations: 82.28 kB / 0.7088 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.2381, allocations: 128 kB / 0.7089 GB, free: 9.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/0.2403, allocations: 1.198 MB / 0.7101 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.2403, allocations: 3.938 kB / 0.7101 GB, free: 8.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.2404, allocations: 59.86 kB / 0.7102 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/0.2404, allocations: 28 kB / 0.7102 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.2425, allocations: 1.129 MB / 0.7113 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007072/0.2496, allocations: 5.009 MB / 0.7162 GB, free: 1.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.2511, allocations: 0.8242 MB / 0.717 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007613/0.2519, allocations: 426.3 kB / 0.7174 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006138/0.258, allocations: 5.158 MB / 0.7224 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.258, allocations: 43.56 kB / 0.7225 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 3.025e-06/0.2581, allocations: 0 / 0.7225 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.003774/0.2618, allocations: 1.727 MB / 0.7242 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.2619, allocations: 60.41 kB / 0.7242 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.2636, allocations: 1.284 MB / 0.7255 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.771e-05/0.2637, allocations: 41.7 kB / 0.7255 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000673/0.2644, allocations: 0.766 MB / 0.7263 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.2647, allocations: 372.8 kB / 0.7266 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.2649, allocations: 174.6 kB / 0.7268 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2651, allocations: 345.9 kB / 0.7271 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.2657, allocations: 301.9 kB / 0.7274 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007553/0.2665, allocations: 434 kB / 0.7278 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.2679, allocations: 0.766 MB / 0.7286 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2679, allocations: 0 / 0.7286 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002402/0.2703, allocations: 1.158 MB / 0.7297 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.2704, allocations: 10.5 kB / 0.7297 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2704, allocations: 288 / 0.7297 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/0.271, allocations: 158.5 kB / 0.7298 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/0.2717, allocations: 199.7 kB / 0.73 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/0.2764, allocations: 4.818 MB / 0.7347 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007691/0.2771, allocations: 95.22 kB / 0.7348 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/0.2772, allocations: 43.98 kB / 0.7349 GB, free: 12.98 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.0005428/0.2778, allocations: 273.6 kB / 0.7351 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.2781, allocations: 170.9 kB / 0.7353 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.2811, allocations: 1.642 MB / 0.7369 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.2811, allocations: 7.922 kB / 0.7369 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2811, allocations: 8 kB / 0.7369 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.2817, allocations: 343.6 kB / 0.7372 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.2819, allocations: 31.88 kB / 0.7373 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.2824, allocations: 23.98 kB / 0.7373 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.2825, allocations: 84.86 kB / 0.7374 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002654/0.2852, allocations: 1.109 MB / 0.7385 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002642/0.2878, allocations: 1.571 MB / 0.74 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006831/0.2885, allocations: 375.7 kB / 0.7404 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001301/0.2898, allocations: 0.8974 MB / 0.7412 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of Backend: time 7.31e-07/0.2898, allocations: 0 / 0.7412 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003557/0.2934, allocations: 1.706 MB / 0.7429 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005556/0.2989, allocations: 3.46 MB / 0.7463 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of Templates: time 0.2917/0.5906, allocations: 32.65 MB / 0.7782 GB, free: 110 MB / 0.5762 GB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.812819170998409]