Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.001287/0.001287, 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.001256/0.001256, 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.076/1.076, allocations: 177.2 MB / 202.8 MB, free: 5.555 MB / 186.7 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.7722/0.7722, allocations: 80.17 MB / 339.4 MB, free: 7.461 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.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.4924 GB, free: 6.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.1e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1791/0.1791, allocations: 144.8 MB / 0.6338 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.5595/0.7385, allocations: 10.26 MB / 0.6438 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.7405, allocations: 59.94 kB / 0.6439 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.7428, allocations: 0.5246 MB / 0.6444 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003383/0.7462, allocations: 0.9704 MB / 0.6454 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.7496, allocations: 0.8363 MB / 0.6462 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.752, allocations: 1.533 MB / 0.6477 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004827/0.7525, allocations: 194.8 kB / 0.6478 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.7539, allocations: 0.8447 MB / 0.6487 GB, free: 3.777 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000946/0.7549, allocations: 0.5673 MB / 0.6492 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.7551, allocations: 76.84 kB / 0.6493 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003149/0.7582, allocations: 1.227 MB / 0.6505 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.7584, allocations: 200.9 kB / 0.6507 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005436/0.7589, allocations: 372.3 kB / 0.651 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.7619, allocations: 1.626 MB / 0.6526 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.762, allocations: 0.9688 kB / 0.6526 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.174e-06/0.762, allocations: 0.625 kB / 0.6526 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.762, allocations: 0.875 kB / 0.6526 GB, free: 3.34 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002186/0.7642, allocations: 1.424 MB / 0.654 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.7642, allocations: 10.88 kB / 0.654 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.489e-05/0.7643, allocations: 115.1 kB / 0.6541 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.7645, allocations: 141.2 kB / 0.6543 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.7656, allocations: 0.733 MB / 0.655 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.7656, allocations: 51.28 kB / 0.655 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.7658, allocations: 80.88 kB / 0.6551 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.767, allocations: 0.7681 MB / 0.6559 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.767, allocations: 0 / 0.6559 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.7671, allocations: 30.28 kB / 0.6559 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.7671, allocations: 17.69 kB / 0.6559 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.7681, allocations: 0.6535 MB / 0.6566 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.7709, allocations: 2.121 MB / 0.6586 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.772, allocations: 0.5256 MB / 0.6591 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.7723, allocations: 231.3 kB / 0.6594 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.7737, allocations: 0.9108 MB / 0.6603 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.7738, allocations: 37.34 kB / 0.6603 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=55): time 1.643e-06/0.7738, allocations: 1.031 kB / 0.6603 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of matching and sorting (n=56): time 0.002822/0.7766, allocations: 1.571 MB / 0.6618 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.7766, allocations: 57.28 kB / 0.6619 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007965/0.7774, allocations: 0.7398 MB / 0.6626 GB, free: 428 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.7775, allocations: 38.55 kB / 0.6626 GB, free: 396 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.7778, allocations: 469.9 kB / 0.6631 GB, free: 216 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.7779, allocations: 199.5 kB / 0.6633 GB, free: 84 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.778, allocations: 100.7 kB / 0.6634 GB, free: 64 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7782, allocations: 327.6 kB / 0.6637 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.7784, allocations: 166.8 kB / 0.6638 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.7787, allocations: 247.2 kB / 0.6641 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.7793, allocations: 458.3 kB / 0.6645 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7793, allocations: 3.469 kB / 0.6645 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000924/0.7802, allocations: 0.6747 MB / 0.6652 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.7803, allocations: 6.281 kB / 0.6652 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.7803, allocations: 6.703 kB / 0.6652 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.7807, allocations: 115.8 kB / 0.6653 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.7809, allocations: 100 kB / 0.6654 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.7827, allocations: 1.925 MB / 0.6673 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.7829, allocations: 11.62 kB / 0.6673 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.7829, allocations: 27.59 kB / 0.6673 GB, free: 14.24 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002752/0.7832, allocations: 216.3 kB / 0.6675 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.7833, allocations: 103.9 kB / 0.6676 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.7846, allocations: 0.8753 MB / 0.6685 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7846, allocations: 9.906 kB / 0.6685 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7846, allocations: 2.875 kB / 0.6685 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.7846, allocations: 3.484 kB / 0.6685 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.7864, allocations: 1.431 MB / 0.6699 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.7864, allocations: 0 / 0.6699 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.7866, allocations: 91.2 kB / 0.67 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/0.7869, allocations: 121.6 kB / 0.6701 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.7869, allocations: 19.95 kB / 0.6701 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.789, allocations: 1.92 MB / 0.672 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.789, allocations: 0 / 0.672 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.7903, allocations: 0.9866 MB / 0.6729 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.7904, allocations: 87.31 kB / 0.673 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.7905, allocations: 12.25 kB / 0.673 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.7906, allocations: 19.09 kB / 0.6731 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.7907, allocations: 53.91 kB / 0.6731 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.7908, allocations: 21.97 kB / 0.6731 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005054/0.7913, allocations: 0.5287 MB / 0.6736 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.7913, allocations: 0.9375 kB / 0.6737 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008893/0.7922, allocations: 352.9 kB / 0.674 GB, free: 11.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (48): * 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: 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002368/0.7945, allocations: 1.93 MB / 0.6759 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009757/0.7955, allocations: 0.6012 MB / 0.6765 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7955, allocations: 0.9062 kB / 0.6765 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.7961, allocations: 409.4 kB / 0.6769 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.7973, allocations: 373.5 kB / 0.6772 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009761/0.8071, allocations: 6.572 MB / 0.6836 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.8076, allocations: 432.7 kB / 0.684 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007837/0.8084, allocations: 153.9 kB / 0.6842 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006708/0.8091, allocations: 399.4 kB / 0.6846 GB, free: 8.375 MB / 0.5573 GB Notification: Performance of SimCode: time 1.112e-06/0.8091, allocations: 0 / 0.6846 GB, free: 8.375 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05757/0.8667, allocations: 30.44 MB / 0.7143 GB, free: 13.21 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.765/10.63, allocations: 13.12 kB / 0.7143 GB, free: 13.21 MB / 0.573 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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: 13.989373880438507]