Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 108.6 kB / 18.68 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01022/0.01022, allocations: 197.5 kB / 21.93 MB, free: 5.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 250.6 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8974/0.8974, allocations: 94.59 MB / 400.4 MB, free: 15.83 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Examples.SimpleGasTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI.I.y|Time|compressor.m_flow|compressor.omega|inertia.phi|turbine.m_flow|volume.M|volume.U_med",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine") translateModel(ThermofluidStream.Examples.SimpleGasTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI.I.y|Time|compressor.m_flow|compressor.omega|inertia.phi|turbine.m_flow|volume.M|volume.U_med",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 82.91 kB / 0.5464 GB, free: 42.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1533, allocations: 71.85 MB / 0.6166 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleGasTurbine): time 0.5993/0.7526, allocations: 189.9 MB / 0.802 GB, free: 2.984 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.02087/0.7735, allocations: 25.33 MB / 0.8267 GB, free: 1.34 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.7751, allocations: 44.31 kB / 0.8268 GB, free: 1.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.7763, allocations: 457.1 kB / 0.8272 GB, free: 1.293 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.7788, allocations: 0.8831 MB / 0.8281 GB, free: 1.148 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.004471/0.7833, allocations: 1.548 MB / 0.8296 GB, free: 0.7539 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.002317/0.7856, allocations: 1.639 MB / 0.8312 GB, free: 296 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.786, allocations: 244.8 kB / 0.8314 GB, free: 160 kB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.7878, allocations: 0.9111 MB / 0.8323 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006757/0.7885, allocations: 0.5842 MB / 0.8329 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.7886, allocations: 93.88 kB / 0.833 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004292/0.7929, allocations: 1.185 MB / 0.8341 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.7933, allocations: 244.6 kB / 0.8344 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.7944, allocations: 0.5748 MB / 0.8349 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007103/0.8015, allocations: 2.007 MB / 0.8369 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.8015, allocations: 0 / 0.8369 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.905e-06/0.8015, allocations: 0 / 0.8369 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.615e-05/0.8015, allocations: 0 / 0.8369 GB, free: 13.95 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00383/0.8054, allocations: 1.709 MB / 0.8386 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.8054, allocations: 6.844 kB / 0.8386 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.8067, allocations: 235.9 kB / 0.8388 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.8083, allocations: 0.8316 MB / 0.8396 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.8084, allocations: 125.9 kB / 0.8397 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.8085, allocations: 91.73 kB / 0.8398 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.8101, allocations: 0.9081 MB / 0.8407 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.8102, allocations: 2.094 kB / 0.8407 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/0.8103, allocations: 36.69 kB / 0.8407 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.8103, allocations: 29.64 kB / 0.8408 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.8117, allocations: 0.6796 MB / 0.8414 GB, free: 10.92 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005677/0.8174, allocations: 3.839 MB / 0.8452 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.8189, allocations: 0.6538 MB / 0.8458 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006039/0.8195, allocations: 293.5 kB / 0.8461 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00261/0.8221, allocations: 2.295 MB / 0.8483 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.8222, allocations: 46.34 kB / 0.8484 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=68): time 3.036e-06/0.8222, allocations: 0 / 0.8484 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68): time 0.003367/0.8255, allocations: 1.512 MB / 0.8499 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.8256, allocations: 115.3 kB / 0.85 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.8267, allocations: 0.7543 MB / 0.8507 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.824e-05/0.8268, allocations: 40.36 kB / 0.8507 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.8272, allocations: 0.5189 MB / 0.8512 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.8275, allocations: 259.4 kB / 0.8515 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.8277, allocations: 152 kB / 0.8516 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.8279, allocations: 342.2 kB / 0.852 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005921/0.8285, allocations: 254 kB / 0.8522 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/0.8292, allocations: 427.7 kB / 0.8526 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.8306, allocations: 0.6729 MB / 0.8533 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.8307, allocations: 1.031 kB / 0.8533 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002053/0.8327, allocations: 0.9413 MB / 0.8542 GB, free: 260 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.8327, allocations: 4 kB / 0.8542 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.8327, allocations: 8 kB / 0.8542 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005242/0.8333, allocations: 142.9 kB / 0.8543 GB, free: 96 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/0.8339, allocations: 162 kB / 0.8545 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005232/0.8391, allocations: 5.974 MB / 0.8603 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006681/0.8398, allocations: 91.38 kB / 0.8604 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.8399, allocations: 55.92 kB / 0.8605 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008476/0.8408, allocations: 394 kB / 0.8608 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007041/0.8415, allocations: 408.1 kB / 0.8612 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001194/0.8427, allocations: 0.6325 MB / 0.8618 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.8427, allocations: 0 / 0.8618 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001861/0.8445, allocations: 0.8973 MB / 0.8627 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.8445, allocations: 10.5 kB / 0.8627 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.8446, allocations: 8 kB / 0.8627 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004541/0.845, allocations: 130 kB / 0.8629 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.8456, allocations: 154.1 kB / 0.863 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/0.8507, allocations: 5.991 MB / 0.8689 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/0.8514, allocations: 67.55 kB / 0.8689 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.8515, allocations: 56.92 kB / 0.869 GB, free: 15.96 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (PI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,4,100.0%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003267/0.8518, allocations: 235.8 kB / 0.8692 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.852, allocations: 107.3 kB / 0.8693 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.8546, allocations: 1.138 MB / 0.8704 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.8546, allocations: 3.984 kB / 0.8704 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.8546, allocations: 7.938 kB / 0.8704 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/0.855, allocations: 236.2 kB / 0.8707 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.8551, allocations: 16 kB / 0.8707 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.8555, allocations: 31.97 kB / 0.8707 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.8556, allocations: 56.48 kB / 0.8708 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002514/0.8581, allocations: 0.8956 MB / 0.8716 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002153/0.8602, allocations: 1.159 MB / 0.8728 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005572/0.8608, allocations: 252.3 kB / 0.873 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007258/0.8615, allocations: 0.5124 MB / 0.8735 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of Backend: time 6.71e-07/0.8615, allocations: 0 / 0.8735 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005219/0.8668, allocations: 2.42 MB / 0.8759 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of SimCode: time 0.004584/0.8713, allocations: 2.835 MB / 0.8786 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of Templates: time 0.04268/0.914, allocations: 24.45 MB / 0.9025 GB, free: 13.65 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine.sim & ./ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleGasTurbine_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleGasTurbine.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.53411435498856]