Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.001807/0.001807, 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.002364/0.002364, 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.513/1.513, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.063/1.063, allocations: 118.6 MB / 378.2 MB, free: 1.457 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 482.9 MB, free: 8.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.944e-05, allocations: 6.141 kB / 482.9 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.07496/0.07499, allocations: 42.05 MB / 0.5126 GB, free: 6.898 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02092/0.09591, allocations: 11.54 MB / 0.5239 GB, free: 11.32 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002837/0.09875, allocations: 79.31 kB / 0.524 GB, free: 11.25 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00441/0.1032, allocations: 1.095 MB / 0.5251 GB, free: 10.14 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008553/0.1117, allocations: 2.325 MB / 0.5273 GB, free: 7.805 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.1162, allocations: 1.245 MB / 0.5285 GB, free: 6.555 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.006031/0.1223, allocations: 3.189 MB / 0.5317 GB, free: 3.352 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009016/0.1232, allocations: 278.4 kB / 0.5319 GB, free: 3.051 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006256/0.1294, allocations: 1.956 MB / 0.5338 GB, free: 1.09 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.1318, allocations: 0.9268 MB / 0.5347 GB, free: 164 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003128/0.1321, allocations: 136 kB / 0.5349 GB, free: 28 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.1361, allocations: 1.049 MB / 0.5359 GB, free: 14.98 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.1367, allocations: 450 kB / 0.5363 GB, free: 14.54 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.1379, allocations: 0.674 MB / 0.537 GB, free: 13.86 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006891/0.1448, allocations: 2.982 MB / 0.5399 GB, free: 10.87 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.1448, allocations: 0 / 0.5399 GB, free: 10.87 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1448, allocations: 0 / 0.5399 GB, free: 10.87 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.819e-05/0.1449, allocations: 0 / 0.5399 GB, free: 10.87 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.006/0.1509, allocations: 2.525 MB / 0.5424 GB, free: 8.293 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1509, allocations: 12.03 kB / 0.5424 GB, free: 8.281 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.1521, allocations: 426.9 kB / 0.5428 GB, free: 7.863 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.1547, allocations: 1.362 MB / 0.5441 GB, free: 6.457 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.1548, allocations: 94.97 kB / 0.5442 GB, free: 6.363 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.155, allocations: 136.3 kB / 0.5443 GB, free: 6.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.1579, allocations: 1.552 MB / 0.5458 GB, free: 4.625 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.1579, allocations: 3.938 kB / 0.5458 GB, free: 4.621 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.1581, allocations: 56 kB / 0.5459 GB, free: 4.566 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/0.1581, allocations: 36 kB / 0.5459 GB, free: 4.531 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.1611, allocations: 1.572 MB / 0.5475 GB, free: 2.953 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007685/0.1687, allocations: 3.659 MB / 0.551 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.1714, allocations: 1.227 MB / 0.5522 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.1726, allocations: 0.6067 MB / 0.5528 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005083/0.1777, allocations: 2.002 MB / 0.5548 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/0.1794, allocations: 0.783 MB / 0.5556 GB, free: 10.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.206e-06/0.1794, allocations: 0 / 0.5556 GB, free: 10.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.005032/0.1844, allocations: 1.998 MB / 0.5575 GB, free: 8.535 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.1845, allocations: 116.1 kB / 0.5576 GB, free: 8.395 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.1865, allocations: 1.309 MB / 0.5589 GB, free: 7.074 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.1867, allocations: 49.7 kB / 0.5589 GB, free: 7.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008393/0.1875, allocations: 0.7383 MB / 0.5597 GB, free: 6.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005458/0.188, allocations: 487.7 kB / 0.5601 GB, free: 5.789 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/0.1885, allocations: 254.8 kB / 0.5604 GB, free: 5.535 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.1887, allocations: 353.9 kB / 0.5607 GB, free: 5.184 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.1898, allocations: 480.1 kB / 0.5612 GB, free: 4.707 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.1913, allocations: 0.8282 MB / 0.562 GB, free: 3.773 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.1937, allocations: 1.161 MB / 0.5631 GB, free: 2.559 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1937, allocations: 0 / 0.5631 GB, free: 2.559 MB / 490.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003633/0.1973, allocations: 1.61 MB / 0.5647 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.1973, allocations: 38.12 kB / 0.5647 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1974, allocations: 4 kB / 0.5647 GB, free: 0.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.198, allocations: 117.6 kB / 0.5648 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.199, allocations: 275.6 kB / 0.5651 GB, free: 496 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/0.2026, allocations: 2.967 MB / 0.568 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.2038, allocations: 128.8 kB / 0.5681 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.2039, allocations: 55.98 kB / 0.5682 GB, free: 13.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0009121/0.2049, allocations: 389.4 kB / 0.5685 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004895/0.2053, allocations: 234.8 kB / 0.5688 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004849/0.2102, allocations: 2.115 MB / 0.5708 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.2102, allocations: 16 kB / 0.5708 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.2102, allocations: 4 kB / 0.5708 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.2102, allocations: 7.969 kB / 0.5709 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006679/0.2169, allocations: 2.955 MB / 0.5737 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.2169, allocations: 4.125 kB / 0.5737 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.218, allocations: 267.6 kB / 0.574 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005359/0.2185, allocations: 129.5 kB / 0.5741 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.2186, allocations: 47.97 kB / 0.5742 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003635/0.2223, allocations: 2.963 MB / 0.5771 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2223, allocations: 0 / 0.5771 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005128/0.2274, allocations: 2.361 MB / 0.5794 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.2284, allocations: 396.1 kB / 0.5797 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.2287, allocations: 35.89 kB / 0.5798 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006893/0.2293, allocations: 47.97 kB / 0.5798 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/0.2297, allocations: 125 kB / 0.5799 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.2298, allocations: 51.92 kB / 0.58 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001461/0.2312, allocations: 0.9075 MB / 0.5809 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.2312, allocations: 4.062 kB / 0.5809 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001855/0.2331, allocations: 0.5927 MB / 0.5815 GB, free: 15.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.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 (149): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.002594/0.2357, allocations: 0.8283 MB / 0.5823 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003643/0.2393, allocations: 1.506 MB / 0.5837 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.2393, allocations: 0 / 0.5837 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/0.2414, allocations: 0.9153 MB / 0.5846 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/0.2447, allocations: 0.6524 MB / 0.5853 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009264/0.254, allocations: 3.515 MB / 0.5887 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.255, allocations: 0.7796 MB / 0.5895 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001567/0.2566, allocations: 381.8 kB / 0.5898 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/0.2571, allocations: 188.4 kB / 0.59 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of SimCode: time 1.563e-06/0.2571, allocations: 4 kB / 0.59 GB, free: 6.598 MB / 0.5105 GB Notification: Performance of Templates: time 0.06209/0.3192, allocations: 31.84 MB / 0.6211 GB, free: 7.285 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.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.105794025934301]