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.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.001625/0.001625, allocations: 73.72 kB / 19.76 MB, free: 2.012 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.001918/0.001918, allocations: 158.2 kB / 23.01 MB, free: 4.965 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.346/1.346, allocations: 177.2 MB / 203.4 MB, free: 9.266 MB / 190.1 MB " [Timeout remaining time 179] 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.7082/0.7082, allocations: 79.6 MB / 339.4 MB, free: 11.52 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.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: 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.002463/0.002463, allocations: 86.64 kB / 0.4924 GB, free: 26.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1119, allocations: 74.59 MB / 0.5652 GB, free: 6.133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.05335/0.1653, allocations: 48.79 MB / 0.6129 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02352/0.1888, allocations: 19.69 MB / 0.6321 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.1902, allocations: 103 kB / 0.6322 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.1922, allocations: 0.7874 MB / 0.633 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004339/0.1966, allocations: 1.704 MB / 0.6346 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00352/0.2001, allocations: 1.339 MB / 0.6359 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003455/0.2036, allocations: 2.583 MB / 0.6384 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006393/0.2042, allocations: 302.7 kB / 0.6387 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.2069, allocations: 1.557 MB / 0.6403 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.208, allocations: 0.878 MB / 0.6411 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.2082, allocations: 124 kB / 0.6412 GB, free: 7.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.2111, allocations: 1.139 MB / 0.6423 GB, free: 6.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003745/0.2114, allocations: 346.3 kB / 0.6427 GB, free: 6.484 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008594/0.2123, allocations: 0.7265 MB / 0.6434 GB, free: 5.754 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004843/0.2171, allocations: 2.661 MB / 0.646 GB, free: 3.082 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2171, allocations: 0 / 0.646 GB, free: 3.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2171, allocations: 0 / 0.646 GB, free: 3.082 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.44e-05/0.2172, allocations: 0 / 0.646 GB, free: 3.082 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.004224/0.2214, allocations: 2.349 MB / 0.6483 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2214, allocations: 9.469 kB / 0.6483 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.222, allocations: 262.5 kB / 0.6485 GB, free: 432 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.2243, allocations: 1.172 MB / 0.6497 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/0.2244, allocations: 86.28 kB / 0.6498 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.2246, allocations: 131.9 kB / 0.6499 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.2266, allocations: 1.277 MB / 0.6511 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.2266, allocations: 3.984 kB / 0.6511 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/0.2267, allocations: 51.75 kB / 0.6512 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.2268, allocations: 28 kB / 0.6512 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.2287, allocations: 1.137 MB / 0.6523 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005351/0.234, allocations: 2.957 MB / 0.6552 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.2355, allocations: 0.8698 MB / 0.6561 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007156/0.2362, allocations: 418.7 kB / 0.6565 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003323/0.2396, allocations: 1.551 MB / 0.658 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.2396, allocations: 39.56 kB / 0.658 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 2.585e-06/0.2396, allocations: 0 / 0.658 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.003358/0.243, allocations: 1.45 MB / 0.6594 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.243, allocations: 64.34 kB / 0.6595 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.2446, allocations: 1.197 MB / 0.6607 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.2447, allocations: 45.7 kB / 0.6607 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006051/0.2453, allocations: 0.7655 MB / 0.6615 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.2456, allocations: 368.8 kB / 0.6618 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.2458, allocations: 170.6 kB / 0.662 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.246, allocations: 345.9 kB / 0.6623 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005583/0.2466, allocations: 289.9 kB / 0.6626 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/0.2473, allocations: 0.5055 MB / 0.6631 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.2487, allocations: 0.7723 MB / 0.6638 GB, free: 384 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.2487, allocations: 0 / 0.6638 GB, free: 384 kB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002221/0.2509, allocations: 1.131 MB / 0.6649 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2509, allocations: 4 kB / 0.6649 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2509, allocations: 4 kB / 0.6649 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.2515, allocations: 170.6 kB / 0.6651 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.2522, allocations: 191.7 kB / 0.6653 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004122/0.2563, allocations: 4.408 MB / 0.6696 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.2571, allocations: 87.36 kB / 0.6697 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/0.2572, allocations: 39.98 kB / 0.6697 GB, free: 10.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0004945/0.2577, allocations: 281.7 kB / 0.67 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.258, allocations: 162.9 kB / 0.6701 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.2607, allocations: 1.574 MB / 0.6717 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.2607, allocations: 8 kB / 0.6717 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2607, allocations: 4 kB / 0.6717 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.2607, allocations: 3.984 kB / 0.6717 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.2644, allocations: 2.194 MB / 0.6738 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.2645, allocations: 0 / 0.6738 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/0.265, allocations: 155.8 kB / 0.674 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005386/0.2656, allocations: 162.6 kB / 0.6741 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.788e-05/0.2656, allocations: 35.97 kB / 0.6742 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004086/0.2697, allocations: 4.415 MB / 0.6785 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.2697, allocations: 4.031 kB / 0.6785 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.2726, allocations: 1.555 MB / 0.68 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/0.2731, allocations: 254.6 kB / 0.6802 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.2733, allocations: 31.89 kB / 0.6803 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.2738, allocations: 28.08 kB / 0.6803 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.2739, allocations: 88.78 kB / 0.6804 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.274, allocations: 39.97 kB / 0.6804 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001192/0.2752, allocations: 0.8363 MB / 0.6812 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2752, allocations: 0 / 0.6812 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001392/0.2766, allocations: 0.5495 MB / 0.6818 GB, free: 13.19 MB / 0.5919 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 (86): * Single equations (assignments): 83 * 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.0008866/0.2775, allocations: 0.6471 MB / 0.6824 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.2795, allocations: 1.125 MB / 0.6835 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2795, allocations: 0 / 0.6835 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.2807, allocations: 0.7719 MB / 0.6843 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.2826, allocations: 496.3 kB / 0.6847 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.2872, allocations: 2.76 MB / 0.6874 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.2879, allocations: 0.6756 MB / 0.6881 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008746/0.2888, allocations: 267.1 kB / 0.6883 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.2891, allocations: 120.5 kB / 0.6885 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of SimCode: time 1.243e-06/0.2891, allocations: 0 / 0.6885 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of Templates: time 0.2656/0.5547, allocations: 27.8 MB / 0.7156 GB, free: 116.7 MB / 0.5919 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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/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: 6.198293722700328]