Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.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.001293/0.001293, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001408/0.001408, allocations: 173.8 kB / 22.46 MB, free: 5.355 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.383/1.383, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7308/0.7308, allocations: 80.19 MB / 339.4 MB, free: 10.89 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.4929 GB, free: 25.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.09e-05, allocations: 6 kB / 0.4929 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.04021/0.04023, allocations: 44.33 MB / 0.5362 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.05292, allocations: 10.08 MB / 0.546 GB, free: 5.609 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006218/0.05354, allocations: 28.16 kB / 0.546 GB, free: 5.594 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007665/0.05431, allocations: 252.7 kB / 0.5463 GB, free: 5.461 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.0559, allocations: 0.6032 MB / 0.5469 GB, free: 5.031 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.05798, allocations: 0.7594 MB / 0.5476 GB, free: 4.445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.05913, allocations: 1.02 MB / 0.5486 GB, free: 3.828 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.05935, allocations: 95.38 kB / 0.5487 GB, free: 3.777 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03082/0.09017, allocations: 12.74 MB / 0.5611 GB, free: 9.484 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/0.0908, allocations: 351.1 kB / 0.5615 GB, free: 9.141 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.842e-05/0.09089, allocations: 56 kB / 0.5615 GB, free: 9.086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1261/0.217, allocations: 52.65 MB / 0.6129 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.2173, allocations: 159.3 kB / 0.6131 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004354/0.2177, allocations: 239.4 kB / 0.6133 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.22, allocations: 1.176 MB / 0.6145 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.22, allocations: 0 / 0.6145 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.22, allocations: 4 kB / 0.6145 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.22, allocations: 0 / 0.6145 GB, free: 2.301 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002091/0.2221, allocations: 1.01 MB / 0.6155 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2221, allocations: 10.06 kB / 0.6155 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.2224, allocations: 88.45 kB / 0.6155 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007657/0.2231, allocations: 446 kB / 0.616 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.2233, allocations: 152.3 kB / 0.6161 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/0.2234, allocations: 52.08 kB / 0.6162 GB, free: 484 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.2246, allocations: 0.7138 MB / 0.6169 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.2246, allocations: 0 / 0.6169 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-05/0.2246, allocations: 16 kB / 0.6169 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.2247, allocations: 21 kB / 0.6169 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.2259, allocations: 0.6753 MB / 0.6176 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.2294, allocations: 1.912 MB / 0.6194 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.231, allocations: 0.6421 MB / 0.6201 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006439/0.2317, allocations: 335.2 kB / 0.6204 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/0.2332, allocations: 328.2 kB / 0.6207 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2333, allocations: 43.06 kB / 0.6207 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 2.334e-06/0.2333, allocations: 0 / 0.6207 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65): time 0.004429/0.2377, allocations: 1.986 MB / 0.6227 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.2377, allocations: 64 kB / 0.6227 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.2382, allocations: 369.9 kB / 0.6231 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/0.2382, allocations: 33.7 kB / 0.6231 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.2384, allocations: 261.5 kB / 0.6234 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.2386, allocations: 229.9 kB / 0.6236 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.2388, allocations: 114.3 kB / 0.6237 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.239, allocations: 358.8 kB / 0.624 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.2395, allocations: 265.2 kB / 0.6243 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.2401, allocations: 344.1 kB / 0.6246 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.2413, allocations: 0.6189 MB / 0.6252 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2413, allocations: 0 / 0.6252 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001813/0.2431, allocations: 0.8723 MB / 0.6261 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2431, allocations: 4 kB / 0.6261 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.2431, allocations: 4 kB / 0.6261 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004476/0.2436, allocations: 136 kB / 0.6262 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.2441, allocations: 103.9 kB / 0.6263 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.247, allocations: 2.32 MB / 0.6286 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.2474, allocations: 24.05 kB / 0.6286 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.2474, allocations: 27.98 kB / 0.6286 GB, free: 3.398 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002898/0.2477, allocations: 185.8 kB / 0.6288 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.2479, allocations: 71.59 kB / 0.6289 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/0.2501, allocations: 1.045 MB / 0.6299 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.2501, allocations: 12 kB / 0.6299 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2501, allocations: 4 kB / 0.6299 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.2501, allocations: 3.984 kB / 0.6299 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.2529, allocations: 1.488 MB / 0.6314 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.2529, allocations: 4 kB / 0.6314 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.2534, allocations: 99.86 kB / 0.6315 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/0.2538, allocations: 140.8 kB / 0.6316 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.375e-05/0.2538, allocations: 23.92 kB / 0.6316 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/0.2567, allocations: 2.32 MB / 0.6339 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2567, allocations: 3.938 kB / 0.6339 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.2591, allocations: 1.309 MB / 0.6352 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.2593, allocations: 111.6 kB / 0.6353 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.2594, allocations: 16 kB / 0.6353 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.2597, allocations: 19.98 kB / 0.6353 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.2598, allocations: 44.41 kB / 0.6353 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.2599, allocations: 23.98 kB / 0.6354 GB, free: 12.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003316/0.2602, allocations: 291.1 kB / 0.6356 GB, free: 12.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2602, allocations: 0 / 0.6356 GB, free: 12.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008836/0.2611, allocations: 307.3 kB / 0.6359 GB, free: 11.71 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007066/0.2618, allocations: 424.3 kB / 0.6363 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.2635, allocations: 0.8737 MB / 0.6372 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2635, allocations: 0 / 0.6372 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.2646, allocations: 0.5753 MB / 0.6378 GB, free: 9.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.2657, allocations: 223.5 kB / 0.638 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.2682, allocations: 1.307 MB / 0.6393 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.2685, allocations: 305.2 kB / 0.6395 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003943/0.2689, allocations: 132.5 kB / 0.6397 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.2691, allocations: 64.45 kB / 0.6397 GB, free: 7.711 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.2691, allocations: 0 / 0.6397 GB, free: 7.711 MB / 0.545 GB Notification: Performance of Templates: time 0.02642/0.2955, allocations: 15.15 MB / 0.6545 GB, free: 8.742 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.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: 5.791512310504913]