Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.001811/0.001811, allocations: 93.47 kB / 19.44 MB, free: 336 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.002133/0.002133, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.667/1.667, allocations: 177.1 MB / 203.1 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 178] 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 1.05/1.05, allocations: 118.6 MB / 378.2 MB, free: 1.449 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 482.9 MB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.16e-05, allocations: 3.281 kB / 482.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.2623/0.2624, allocations: 139.1 MB / 0.6074 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.006215/0.2686, allocations: 3.482 MB / 0.6108 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.269, allocations: 23.81 kB / 0.6108 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0008227/0.2698, allocations: 198.5 kB / 0.611 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.2713, allocations: 0.5471 MB / 0.6115 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.2724, allocations: 410.4 kB / 0.6119 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.2735, allocations: 0.816 MB / 0.6127 GB, free: 12 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.2737, allocations: 77.36 kB / 0.6128 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.2748, allocations: 0.4984 MB / 0.6133 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006417/0.2754, allocations: 335.2 kB / 0.6136 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.516e-05/0.2755, allocations: 36 kB / 0.6136 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.2768, allocations: 0.495 MB / 0.6141 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.2769, allocations: 99.53 kB / 0.6142 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.2772, allocations: 175.5 kB / 0.6144 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.2786, allocations: 0.767 MB / 0.6151 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2786, allocations: 0 / 0.6151 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2786, allocations: 0 / 0.6151 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2786, allocations: 0 / 0.6151 GB, free: 13.53 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001821/0.2805, allocations: 0.9108 MB / 0.616 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2805, allocations: 8.031 kB / 0.616 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.2808, allocations: 104.4 kB / 0.6161 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000766/0.2815, allocations: 393.2 kB / 0.6165 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.2816, allocations: 25.36 kB / 0.6165 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.2816, allocations: 36.38 kB / 0.6166 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.2827, allocations: 398.7 kB / 0.6169 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2827, allocations: 192 / 0.6169 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.2828, allocations: 20.12 kB / 0.617 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.2828, allocations: 8 kB / 0.617 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.2834, allocations: 270.4 kB / 0.6172 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.2859, allocations: 1.548 MB / 0.6187 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.2867, allocations: 311.3 kB / 0.619 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.2871, allocations: 155.5 kB / 0.6192 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/0.2889, allocations: 0.7775 MB / 0.6199 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005057/0.2894, allocations: 224.5 kB / 0.6202 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 2.965e-06/0.2894, allocations: 0 / 0.6202 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.001577/0.291, allocations: 0.5285 MB / 0.6207 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.2911, allocations: 59.41 kB / 0.6207 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005864/0.2916, allocations: 446.6 kB / 0.6212 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.2917, allocations: 29.7 kB / 0.6212 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.292, allocations: 291.2 kB / 0.6215 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.2921, allocations: 142.8 kB / 0.6216 GB, free: 6.652 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.2923, allocations: 87.72 kB / 0.6217 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003473/0.2926, allocations: 0.543 MB / 0.6222 GB, free: 6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.2929, allocations: 138.4 kB / 0.6223 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.2933, allocations: 213.6 kB / 0.6225 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/0.294, allocations: 348.1 kB / 0.6229 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.294, allocations: 0 / 0.6229 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001128/0.2951, allocations: 0.5166 MB / 0.6234 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.2952, allocations: 33.7 kB / 0.6234 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2952, allocations: 0 / 0.6234 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002935/0.2955, allocations: 47.66 kB / 0.6235 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.2958, allocations: 84.05 kB / 0.6235 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.298, allocations: 1.928 MB / 0.6254 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.2983, allocations: 39.7 kB / 0.6255 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.2983, allocations: 16 kB / 0.6255 GB, free: 2.434 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002664/0.2986, allocations: 216 kB / 0.6257 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.2987, allocations: 67.59 kB / 0.6257 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.3, allocations: 0.543 MB / 0.6263 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3, allocations: 4 kB / 0.6263 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3, allocations: 0 / 0.6263 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3, allocations: 4 kB / 0.6263 GB, free: 1.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.3018, allocations: 0.9536 MB / 0.6272 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3018, allocations: 0 / 0.6272 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.302, allocations: 63.95 kB / 0.6273 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/0.3022, allocations: 51.58 kB / 0.6273 GB, free: 476 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.3022, allocations: 11.98 kB / 0.6273 GB, free: 464 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.3041, allocations: 1.932 MB / 0.6292 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.3041, allocations: 7.938 kB / 0.6292 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.3054, allocations: 0.7023 MB / 0.6299 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.3056, allocations: 71.64 kB / 0.63 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.3056, allocations: 20.02 kB / 0.63 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.3058, allocations: 19.98 kB / 0.63 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.306, allocations: 31.94 kB / 0.6301 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.306, allocations: 12 kB / 0.6301 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003569/0.3063, allocations: 307.1 kB / 0.6304 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.3063, allocations: 0 / 0.6304 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006421/0.307, allocations: 179.6 kB / 0.6305 GB, free: 13.02 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004532/0.3074, allocations: 249.5 kB / 0.6308 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.3088, allocations: 0.5678 MB / 0.6313 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3088, allocations: 320 / 0.6313 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005399/0.3093, allocations: 361 kB / 0.6317 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3103, allocations: 183.3 kB / 0.6318 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.3123, allocations: 0.8454 MB / 0.6327 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3126, allocations: 216.3 kB / 0.6329 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002867/0.3128, allocations: 92.77 kB / 0.633 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.313, allocations: 52.48 kB / 0.633 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of SimCode: time 7.12e-07/0.313, allocations: 0 / 0.633 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of Templates: time 0.01939/0.3324, allocations: 9.312 MB / 0.6421 GB, free: 1.262 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.791698576998897]