Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.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.001493/0.001493, allocations: 85.11 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.001754/0.001754, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.482/1.482, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 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.01/1.01, allocations: 116 MB / 375.2 MB, free: 7.551 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV") translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.5537 GB, free: 13.68 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.475e-05, allocations: 2.281 kB / 0.5537 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.5374/0.5374, allocations: 169.1 MB / 0.7188 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.554, allocations: 14.14 MB / 0.7326 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.5569, allocations: 117.1 kB / 0.7327 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.5599, allocations: 0.9338 MB / 0.7337 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007512/0.5674, allocations: 2.632 MB / 0.7362 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006032/0.5735, allocations: 1.961 MB / 0.7381 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005914/0.5794, allocations: 4.086 MB / 0.7421 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008776/0.5803, allocations: 269.4 kB / 0.7424 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005421/0.5857, allocations: 2.268 MB / 0.7446 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/0.5883, allocations: 1.454 MB / 0.746 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004346/0.5887, allocations: 171.4 kB / 0.7462 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005264/0.594, allocations: 2.252 MB / 0.7484 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006175/0.5946, allocations: 475.9 kB / 0.7488 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.5961, allocations: 0.8038 MB / 0.7496 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006591/0.6027, allocations: 3.486 MB / 0.753 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6027, allocations: 3.844 kB / 0.753 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6027, allocations: 0 / 0.753 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.999e-05/0.6028, allocations: 0.9688 kB / 0.753 GB, free: 2.77 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.005083/0.6078, allocations: 2.735 MB / 0.7557 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.6079, allocations: 12.38 kB / 0.7557 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008361/0.6087, allocations: 289.8 kB / 0.756 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.6112, allocations: 1.351 MB / 0.7573 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/0.6113, allocations: 111.2 kB / 0.7574 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.6115, allocations: 157.8 kB / 0.7576 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.6145, allocations: 2.294 MB / 0.7598 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.6146, allocations: 3.094 kB / 0.7598 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.6147, allocations: 65.06 kB / 0.7599 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.6148, allocations: 41.09 kB / 0.7599 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.6175, allocations: 1.516 MB / 0.7614 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009371/0.6268, allocations: 5.069 MB / 0.7663 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/0.6298, allocations: 1.392 MB / 0.7677 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.6311, allocations: 0.6525 MB / 0.7683 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005769/0.6368, allocations: 2.646 MB / 0.7709 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.523e-05/0.6369, allocations: 61.19 kB / 0.771 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 4.618e-06/0.6369, allocations: 2 kB / 0.771 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.007366/0.6443, allocations: 2.459 MB / 0.7734 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.6444, allocations: 184.5 kB / 0.7736 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.6464, allocations: 1.347 MB / 0.7749 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003051/0.6467, allocations: 57.89 kB / 0.7749 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007636/0.6474, allocations: 0.8718 MB / 0.7758 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006935/0.6481, allocations: 0.5948 MB / 0.7764 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000484/0.6486, allocations: 296.8 kB / 0.7767 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6488, allocations: 302 kB / 0.7769 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.6499, allocations: 0.4917 MB / 0.7774 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.6513, allocations: 0.8562 MB / 0.7783 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00257/0.6539, allocations: 1.453 MB / 0.7797 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.6539, allocations: 2.938 kB / 0.7797 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004211/0.6581, allocations: 1.895 MB / 0.7815 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.6581, allocations: 20.38 kB / 0.7815 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.6581, allocations: 8.75 kB / 0.7816 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008432/0.659, allocations: 227.5 kB / 0.7818 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.6605, allocations: 392.7 kB / 0.7821 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007147/0.6676, allocations: 7.021 MB / 0.789 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.6692, allocations: 154.9 kB / 0.7892 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/0.6696, allocations: 79.97 kB / 0.7892 GB, free: 10.59 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (206): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001019/0.6706, allocations: 342.8 kB / 0.7896 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00086/0.6714, allocations: 226.7 kB / 0.7898 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005062/0.6765, allocations: 2.035 MB / 0.7918 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.6765, allocations: 20 kB / 0.7918 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-05/0.6765, allocations: 7.938 kB / 0.7918 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-05/0.6766, allocations: 11.97 kB / 0.7918 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008807/0.6854, allocations: 3.52 MB / 0.7952 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.6854, allocations: 4 kB / 0.7952 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.6866, allocations: 252.3 kB / 0.7955 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.6888, allocations: 466.6 kB / 0.7959 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002732/0.689, allocations: 59.89 kB / 0.796 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009926/0.6989, allocations: 9.303 MB / 0.8051 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.699, allocations: 7.969 kB / 0.8051 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006598/0.7056, allocations: 2.866 MB / 0.8079 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.7067, allocations: 350.1 kB / 0.8082 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004857/0.7072, allocations: 43.89 kB / 0.8082 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.7087, allocations: 63.95 kB / 0.8083 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/0.7092, allocations: 139.1 kB / 0.8084 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/0.7094, allocations: 75.95 kB / 0.8085 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001742/0.7111, allocations: 0.911 MB / 0.8094 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7111, allocations: 0 / 0.8094 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003039/0.7142, allocations: 0.8264 MB / 0.8102 GB, free: 4.438 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.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 (140): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,3), (2,3), (2,3), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/0.7161, allocations: 0.7743 MB / 0.811 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004342/0.7204, allocations: 1.914 MB / 0.8128 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.7204, allocations: 0 / 0.8128 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002998/0.7234, allocations: 1.378 MB / 0.8142 GB, free: 380 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005649/0.7291, allocations: 0.8407 MB / 0.815 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.7393, allocations: 3.905 MB / 0.8188 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/0.7407, allocations: 0.8177 MB / 0.8196 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002123/0.7428, allocations: 367.2 kB / 0.82 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/0.7435, allocations: 172.5 kB / 0.8201 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of SimCode: time 1.292e-06/0.7435, allocations: 0 / 0.8201 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.0781/0.8215, allocations: 42.23 MB / 0.8614 GB, free: 0.7969 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.PCV_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.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: 8.17958952113986]