Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.001953/0.001953, allocations: 104.3 kB / 16.45 MB, free: 6.457 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.00182/0.00182, allocations: 199.8 kB / 19.41 MB, free: 3.645 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.559/1.559, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.8534/0.8534, allocations: 94.59 MB / 397.3 MB, free: 268 kB / 302.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: "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 85.89 kB / 0.5416 GB, free: 42.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1525, allocations: 71.85 MB / 0.6118 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.5711/0.7235, allocations: 150 MB / 0.7583 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005577/0.7291, allocations: 4.651 MB / 0.7628 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009412/0.73, allocations: 39.53 kB / 0.7628 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.7311, allocations: 296.6 kB / 0.7631 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.7327, allocations: 0.6743 MB / 0.7638 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.7341, allocations: 0.5045 MB / 0.7643 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001577/0.7357, allocations: 0.9837 MB / 0.7652 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.736, allocations: 97.53 kB / 0.7653 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.7373, allocations: 0.5344 MB / 0.7659 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007174/0.7381, allocations: 471.6 kB / 0.7663 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.7382, allocations: 43.06 kB / 0.7663 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.7401, allocations: 0.7807 MB / 0.7671 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.7402, allocations: 123.8 kB / 0.7672 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.7405, allocations: 315.5 kB / 0.7675 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.7422, allocations: 0.9716 MB / 0.7685 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7422, allocations: 0 / 0.7685 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7422, allocations: 0 / 0.7685 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.7422, allocations: 2 kB / 0.7685 GB, free: 2.117 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001886/0.7441, allocations: 0.9949 MB / 0.7694 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.833e-05/0.7442, allocations: 9.875 kB / 0.7695 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.7443, allocations: 77.19 kB / 0.7695 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.7444, allocations: 78.08 kB / 0.7696 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.7458, allocations: 0.5489 MB / 0.7701 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.7458, allocations: 37.83 kB / 0.7702 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.7459, allocations: 44.97 kB / 0.7702 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006837/0.7466, allocations: 0.5029 MB / 0.7707 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.7466, allocations: 4.188 kB / 0.7707 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.7466, allocations: 18.59 kB / 0.7707 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.7466, allocations: 11.09 kB / 0.7707 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.7474, allocations: 482.8 kB / 0.7712 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.75, allocations: 2.178 MB / 0.7733 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008163/0.7509, allocations: 339.3 kB / 0.7737 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.7511, allocations: 181.1 kB / 0.7738 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002652/0.7538, allocations: 1.993 MB / 0.7758 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.7538, allocations: 43.5 kB / 0.7758 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 1.873e-06/0.7538, allocations: 1.812 kB / 0.7758 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47): time 0.001595/0.7554, allocations: 0.7922 MB / 0.7766 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.7555, allocations: 60.53 kB / 0.7766 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/0.756, allocations: 489.5 kB / 0.7771 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.756, allocations: 36.02 kB / 0.7772 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.7564, allocations: 268.9 kB / 0.7774 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/0.7565, allocations: 165.7 kB / 0.7776 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.7566, allocations: 89.25 kB / 0.7776 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.7568, allocations: 369.5 kB / 0.778 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.757, allocations: 131.6 kB / 0.7781 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.7573, allocations: 180.4 kB / 0.7783 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.7578, allocations: 345.4 kB / 0.7786 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7578, allocations: 3.406 kB / 0.7786 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008933/0.7587, allocations: 0.4991 MB / 0.7791 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.7587, allocations: 9.812 kB / 0.7791 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.7587, allocations: 1.938 kB / 0.7791 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003358/0.759, allocations: 72.94 kB / 0.7792 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.7593, allocations: 85.62 kB / 0.7793 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.7619, allocations: 2.923 MB / 0.7821 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.7621, allocations: 46.81 kB / 0.7822 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.7622, allocations: 20.78 kB / 0.7822 GB, free: 10.04 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.7624, allocations: 176.1 kB / 0.7824 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/0.7625, allocations: 66.81 kB / 0.7824 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.7637, allocations: 0.7082 MB / 0.7831 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.7637, allocations: 6.734 kB / 0.7831 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7637, allocations: 3.656 kB / 0.7831 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.7637, allocations: 5.812 kB / 0.7831 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.7658, allocations: 1.186 MB / 0.7843 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7658, allocations: 1.812 kB / 0.7843 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.766, allocations: 74.56 kB / 0.7844 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002018/0.7662, allocations: 65.98 kB / 0.7844 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.7662, allocations: 16.34 kB / 0.7844 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/0.7686, allocations: 2.928 MB / 0.7873 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7686, allocations: 3.688 kB / 0.7873 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.7699, allocations: 0.7645 MB / 0.7881 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.7701, allocations: 142.6 kB / 0.7882 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.7701, allocations: 12.72 kB / 0.7882 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.7704, allocations: 9.688 kB / 0.7882 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.7704, allocations: 41.47 kB / 0.7883 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.7705, allocations: 20.83 kB / 0.7883 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004485/0.7709, allocations: 369.6 kB / 0.7886 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7709, allocations: 0 / 0.7886 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007949/0.7717, allocations: 198.9 kB / 0.7888 GB, free: 6.172 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance.rear.m_flow,flowResistance1.rear.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 (43): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001797/0.7735, allocations: 1.477 MB / 0.7903 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.7745, allocations: 0.5646 MB / 0.7908 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7745, allocations: 0.9062 kB / 0.7908 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005507/0.7751, allocations: 428.9 kB / 0.7912 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.7761, allocations: 184.1 kB / 0.7914 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/0.7832, allocations: 4.774 MB / 0.7961 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/0.7838, allocations: 0.8703 MB / 0.7969 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003567/0.7841, allocations: 128.2 kB / 0.797 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/0.7846, allocations: 238.1 kB / 0.7973 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of SimCode: time 1.022e-06/0.7846, allocations: 2.203 kB / 0.7973 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06036/0.845, allocations: 16.74 MB / 0.8136 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.59, allocations: 9.875 kB / 0.8136 GB, free: 13.91 MB / 0.6075 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance_fmu --startTime=0 --stopTime=10 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TestFlowResistance.fmu > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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: 16.420152314938605]