Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.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.001744/0.001744, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001705/0.001705, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.329/1.329, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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.8122/0.8122, allocations: 80.17 MB / 339.4 MB, free: 7.547 MB / 314.7 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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0 / 0.4924 GB, free: 6.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.522e-05/5.854e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.214/0.214, allocations: 130.1 MB / 0.6194 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.2273, allocations: 10.23 MB / 0.6294 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.2287, allocations: 31.69 kB / 0.6295 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.2301, allocations: 266.1 kB / 0.6297 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.2327, allocations: 0.6131 MB / 0.6303 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.2357, allocations: 0.7272 MB / 0.631 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001934/0.2377, allocations: 1.034 MB / 0.632 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.2381, allocations: 102.2 kB / 0.6321 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.2393, allocations: 0.5609 MB / 0.6327 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008428/0.2402, allocations: 446.9 kB / 0.6331 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.499e-05/0.2403, allocations: 56 kB / 0.6332 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.2429, allocations: 0.9005 MB / 0.634 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.2432, allocations: 163.3 kB / 0.6342 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.2435, allocations: 231.4 kB / 0.6344 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003261/0.2468, allocations: 1.161 MB / 0.6355 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2468, allocations: 0 / 0.6355 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2468, allocations: 0 / 0.6355 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.2468, allocations: 0 / 0.6355 GB, free: 5.316 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002705/0.2495, allocations: 1.014 MB / 0.6365 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001707/0.2497, allocations: 13.47 kB / 0.6366 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.2498, allocations: 90.64 kB / 0.6366 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.2501, allocations: 88.45 kB / 0.6367 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.2512, allocations: 459.3 kB / 0.6372 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.2513, allocations: 144.4 kB / 0.6373 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.2514, allocations: 56.08 kB / 0.6374 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.2524, allocations: 0.7178 MB / 0.6381 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.2525, allocations: 4 kB / 0.6381 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-05/0.2525, allocations: 20 kB / 0.6381 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.959e-05/0.2526, allocations: 20.94 kB / 0.6381 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.2536, allocations: 0.6832 MB / 0.6388 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5121/0.7657, allocations: 1.981 MB / 0.6407 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.7678, allocations: 0.5861 MB / 0.6413 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007374/0.7686, allocations: 330.1 kB / 0.6416 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.7701, allocations: 302.6 kB / 0.6419 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.7701, allocations: 44 kB / 0.6419 GB, free: 149.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=62): time 5.109e-06/0.7701, allocations: 0.5938 kB / 0.6419 GB, free: 149.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.005786/0.7759, allocations: 1.95 MB / 0.6438 GB, free: 148.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.776, allocations: 61.69 kB / 0.6439 GB, free: 148.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009476/0.7769, allocations: 439.6 kB / 0.6443 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.777, allocations: 35.98 kB / 0.6443 GB, free: 148.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.7771, allocations: 253 kB / 0.6446 GB, free: 148.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.7773, allocations: 231.2 kB / 0.6448 GB, free: 148.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.7774, allocations: 111.8 kB / 0.6449 GB, free: 148 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002688/0.7777, allocations: 372 kB / 0.6453 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.7783, allocations: 262.7 kB / 0.6455 GB, free: 147.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/0.779, allocations: 328.8 kB / 0.6458 GB, free: 147.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.7804, allocations: 0.6198 MB / 0.6464 GB, free: 147.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7804, allocations: 1.188 kB / 0.6464 GB, free: 147.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002122/0.7825, allocations: 0.8531 MB / 0.6473 GB, free: 146.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.7826, allocations: 8.281 kB / 0.6473 GB, free: 146.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.535e-05/0.7826, allocations: 5.203 kB / 0.6473 GB, free: 146.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005142/0.7831, allocations: 132.7 kB / 0.6474 GB, free: 146.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.7838, allocations: 110.9 kB / 0.6475 GB, free: 146.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.7869, allocations: 2.337 MB / 0.6498 GB, free: 144.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/0.7875, allocations: 23.98 kB / 0.6498 GB, free: 144.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.7875, allocations: 31.59 kB / 0.6498 GB, free: 144.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0004586/0.788, allocations: 192.9 kB / 0.65 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.7883, allocations: 79.53 kB / 0.6501 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.7907, allocations: 1.038 MB / 0.6511 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.7908, allocations: 6.375 kB / 0.6511 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.7908, allocations: 2.125 kB / 0.6511 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.7908, allocations: 4.531 kB / 0.6511 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.7937, allocations: 1.542 MB / 0.6526 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.7937, allocations: 6.188 kB / 0.6526 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.7941, allocations: 92.72 kB / 0.6527 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003535/0.7945, allocations: 133 kB / 0.6529 GB, free: 143.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/0.7945, allocations: 25.55 kB / 0.6529 GB, free: 143.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.797, allocations: 2.281 MB / 0.6551 GB, free: 141.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.797, allocations: 0 / 0.6551 GB, free: 141.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.7994, allocations: 1.268 MB / 0.6563 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.7995, allocations: 55.45 kB / 0.6564 GB, free: 140.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.7996, allocations: 14.81 kB / 0.6564 GB, free: 140.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.7998, allocations: 19.86 kB / 0.6564 GB, free: 140.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.7999, allocations: 44.31 kB / 0.6565 GB, free: 140.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.8, allocations: 23.55 kB / 0.6565 GB, free: 140.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003823/0.8004, allocations: 339.9 kB / 0.6568 GB, free: 140.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.8004, allocations: 0 / 0.6568 GB, free: 140.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001479/0.8019, allocations: 296.8 kB / 0.6571 GB, free: 140.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (turbine.m_flow,turbine1.m_flow,turbine1.phi,turbine1.omega) * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00314/0.805, allocations: 2.119 MB / 0.6592 GB, free: 139.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.8069, allocations: 0.8568 MB / 0.66 GB, free: 138.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8069, allocations: 3.281 kB / 0.66 GB, free: 138.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009104/0.8078, allocations: 0.5613 MB / 0.6606 GB, free: 138.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.809, allocations: 274.1 kB / 0.6608 GB, free: 138.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008038/0.8171, allocations: 5.862 MB / 0.6665 GB, free: 133.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.8174, allocations: 305.8 kB / 0.6668 GB, free: 133 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006078/0.818, allocations: 148.8 kB / 0.667 GB, free: 132.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.8182, allocations: 244.4 kB / 0.6672 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.473e-06/0.8182, allocations: 0 / 0.6672 GB, free: 132.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06195/0.8801, allocations: 23.42 MB / 0.6901 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.31, allocations: 11.83 kB / 0.6901 GB, free: 109.5 MB / 0.5417 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine_fmu --startTime=0 --stopTime=30 --stepSize=0.03 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.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: 15.162514148280025]