Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001281/0.001281, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001398/0.001398, allocations: 217.6 kB / 23.01 MB, free: 4.609 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.325/1.325, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.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.7367/0.7367, allocations: 100.3 MB / 413.5 MB, free: 3.707 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.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_dev_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_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [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.002442/0.002442, allocations: 87.42 kB / 0.5645 GB, free: 35.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1343, allocations: 74.46 MB / 0.6372 GB, free: 7.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.04944/0.1837, allocations: 45.87 MB / 0.682 GB, free: 9.172 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.201, allocations: 12.51 MB / 0.6942 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.2029, allocations: 75.31 kB / 0.6943 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.2059, allocations: 1.154 MB / 0.6954 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006567/0.2125, allocations: 2.16 MB / 0.6975 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/0.2161, allocations: 1.217 MB / 0.6987 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004857/0.221, allocations: 2.852 MB / 0.7015 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007505/0.2217, allocations: 294 kB / 0.7018 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.2247, allocations: 1.46 MB / 0.7032 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.2268, allocations: 1.128 MB / 0.7043 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000502/0.2273, allocations: 132 kB / 0.7044 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003753/0.231, allocations: 1.217 MB / 0.7056 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006644/0.2317, allocations: 434.1 kB / 0.706 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.2334, allocations: 0.9673 MB / 0.707 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006684/0.24, allocations: 2.918 MB / 0.7098 GB, free: 12.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.24, allocations: 0 / 0.7098 GB, free: 12.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.24, allocations: 0 / 0.7098 GB, free: 12.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000102/0.2401, allocations: 4 kB / 0.7098 GB, free: 12.54 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.006712/0.2469, allocations: 2.498 MB / 0.7123 GB, free: 9.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2469, allocations: 9.469 kB / 0.7123 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006616/0.2476, allocations: 239.4 kB / 0.7125 GB, free: 9.746 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.2504, allocations: 1.268 MB / 0.7137 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.2505, allocations: 98.97 kB / 0.7138 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/0.2507, allocations: 131.9 kB / 0.714 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/0.2538, allocations: 1.521 MB / 0.7155 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.2538, allocations: 0 / 0.7155 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.2539, allocations: 60 kB / 0.7155 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.254, allocations: 32 kB / 0.7155 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/0.2569, allocations: 1.607 MB / 0.7171 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009281/0.2662, allocations: 6.222 MB / 0.7232 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/0.2686, allocations: 1.211 MB / 0.7244 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.2697, allocations: 0.6164 MB / 0.725 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005073/0.2748, allocations: 2.25 MB / 0.7272 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.2762, allocations: 0.6809 MB / 0.7278 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=139): time 3.176e-06/0.2762, allocations: 0 / 0.7278 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=139): time 0.004617/0.2808, allocations: 1.998 MB / 0.7298 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.2809, allocations: 68.72 kB / 0.7299 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.2831, allocations: 1.317 MB / 0.7311 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.2832, allocations: 49.7 kB / 0.7312 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006903/0.2839, allocations: 0.7072 MB / 0.7319 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/0.2844, allocations: 499.6 kB / 0.7324 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.2848, allocations: 246.8 kB / 0.7326 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.285, allocations: 353.9 kB / 0.7329 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000983/0.286, allocations: 470.4 kB / 0.7334 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.2872, allocations: 0.6163 MB / 0.734 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.2894, allocations: 1.171 MB / 0.7351 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.2894, allocations: 0 / 0.7351 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003248/0.2926, allocations: 1.554 MB / 0.7366 GB, free: 128 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.2927, allocations: 38.48 kB / 0.7367 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.2927, allocations: 4 kB / 0.7367 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004639/0.2932, allocations: 105.6 kB / 0.7368 GB, free: 15.97 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.2942, allocations: 279.6 kB / 0.737 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/0.2973, allocations: 3.029 MB / 0.74 GB, free: 12.44 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009989/0.2983, allocations: 123.2 kB / 0.7401 GB, free: 12.32 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.2985, allocations: 59.97 kB / 0.7402 GB, free: 12.26 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0007718/0.2993, allocations: 381.4 kB / 0.7405 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.2997, allocations: 186.8 kB / 0.7407 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/0.3043, allocations: 2.296 MB / 0.743 GB, free: 9.441 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.3043, allocations: 19.94 kB / 0.743 GB, free: 9.422 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.3043, allocations: 3.938 kB / 0.743 GB, free: 9.418 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.3043, allocations: 7.969 kB / 0.743 GB, free: 9.41 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006981/0.3113, allocations: 3.437 MB / 0.7463 GB, free: 5.895 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.3113, allocations: 0 / 0.7463 GB, free: 5.895 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.3123, allocations: 287.6 kB / 0.7466 GB, free: 5.613 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003772/0.3127, allocations: 109.7 kB / 0.7467 GB, free: 5.5 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.3128, allocations: 51.97 kB / 0.7468 GB, free: 5.449 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.3159, allocations: 3.032 MB / 0.7497 GB, free: 2.184 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.3159, allocations: 4.281 kB / 0.7497 GB, free: 2.18 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2782/0.5941, allocations: 2.399 MB / 0.7521 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.5953, allocations: 414.7 kB / 0.7525 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.5955, allocations: 35.02 kB / 0.7525 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/0.5962, allocations: 48.06 kB / 0.7526 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.5965, allocations: 126.2 kB / 0.7527 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.5966, allocations: 59.97 kB / 0.7527 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.001371/0.598, allocations: 0.9263 MB / 0.7536 GB, free: 108.3 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.598, allocations: 1 kB / 0.7536 GB, free: 108.3 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001691/0.5997, allocations: 0.6049 MB / 0.7542 GB, free: 108.3 MB / 0.5763 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 (157): * Single equations (assignments): 153 * 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.002038/0.6017, allocations: 0.8494 MB / 0.7551 GB, free: 108.2 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.002872/0.6046, allocations: 1.505 MB / 0.7565 GB, free: 107.9 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6046, allocations: 0.8125 kB / 0.7565 GB, free: 107.9 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001421/0.606, allocations: 0.9411 MB / 0.7575 GB, free: 107.6 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.6082, allocations: 0.5035 MB / 0.7579 GB, free: 107.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.6132, allocations: 3.311 MB / 0.7612 GB, free: 105.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.614, allocations: 1.344 MB / 0.7625 GB, free: 105.1 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/0.6146, allocations: 217 kB / 0.7627 GB, free: 105.1 MB / 0.5763 GB Notification: Performance of SimCode: time 8.31e-07/0.6146, allocations: 0 / 0.7627 GB, free: 105.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.04283/0.6574, allocations: 42.47 MB / 0.8042 GB, free: 74.81 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 11.025361202890053]