Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.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.001282/0.001282, allocations: 82.88 kB / 19.18 MB, free: 2.523 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.001503/0.001503, allocations: 168.8 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.381/1.381, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.7495/0.7495, allocations: 80.21 MB / 339.4 MB, free: 10.86 MB / 318.1 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: translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") translateModel(ThermofluidStream.Processes.Tests.Nozzle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|nozzle.inlet.m_flow|nozzle1.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.4929 GB, free: 25.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.345e-05, allocations: 4.906 kB / 0.4929 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5651/0.5651, allocations: 233.5 MB / 0.7209 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007816/0.573, allocations: 5.529 MB / 0.7263 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.5744, allocations: 113.4 kB / 0.7264 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002533/0.5769, allocations: 0.898 MB / 0.7273 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01387/0.5908, allocations: 5.692 MB / 0.7329 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006015/0.5968, allocations: 2.506 MB / 0.7353 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.5998, allocations: 2.301 MB / 0.7376 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006337/0.6005, allocations: 241.2 kB / 0.7378 GB, free: 19.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.6039, allocations: 1.75 MB / 0.7395 GB, free: 18.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.605, allocations: 0.6994 MB / 0.7402 GB, free: 18.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.6051, allocations: 101.6 kB / 0.7403 GB, free: 18.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01646/0.6216, allocations: 8.842 MB / 0.7489 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007984/0.6224, allocations: 420.2 kB / 0.7493 GB, free: 18.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.6243, allocations: 0.4907 MB / 0.7498 GB, free: 18.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01736/0.6416, allocations: 6.534 MB / 0.7562 GB, free: 17.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.6416, allocations: 5.406 kB / 0.7562 GB, free: 17.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6416, allocations: 0 / 0.7562 GB, free: 17.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.023e-05/0.6417, allocations: 0.7812 kB / 0.7562 GB, free: 17.69 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.006331/0.648, allocations: 2.779 MB / 0.7589 GB, free: 16.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.648, allocations: 9.906 kB / 0.7589 GB, free: 16.26 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/0.6484, allocations: 185.4 kB / 0.7591 GB, free: 16.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.6503, allocations: 0.991 MB / 0.7601 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.6503, allocations: 75.16 kB / 0.7601 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.6505, allocations: 98.98 kB / 0.7602 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.6524, allocations: 1.436 MB / 0.7616 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.6525, allocations: 3.75 kB / 0.7616 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.302e-05/0.6526, allocations: 37.88 kB / 0.7617 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.6527, allocations: 88.5 kB / 0.7618 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.6546, allocations: 1.569 MB / 0.7633 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007127/0.6617, allocations: 3.927 MB / 0.7671 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.6632, allocations: 0.7804 MB / 0.7679 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008333/0.6641, allocations: 0.5865 MB / 0.7685 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.6651, allocations: 320.2 kB / 0.7688 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.6651, allocations: 47.23 kB / 0.7688 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=114): time 3.787e-06/0.6651, allocations: 0 / 0.7688 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=114): time 0.003989/0.6691, allocations: 1.94 MB / 0.7707 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.6692, allocations: 94.89 kB / 0.7708 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6702, allocations: 0.8254 MB / 0.7716 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.6703, allocations: 51.09 kB / 0.7716 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.6707, allocations: 0.5659 MB / 0.7722 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003827/0.671, allocations: 406.4 kB / 0.7726 GB, free: 13 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.6713, allocations: 184.2 kB / 0.7728 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.6715, allocations: 343.5 kB / 0.7731 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/0.6722, allocations: 461.1 kB / 0.7735 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007875/0.673, allocations: 0.5325 MB / 0.774 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.6745, allocations: 1.062 MB / 0.7751 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6745, allocations: 1.031 kB / 0.7751 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002473/0.6769, allocations: 1.404 MB / 0.7765 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.6769, allocations: 5.781 kB / 0.7765 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.677, allocations: 1.031 kB / 0.7765 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.6774, allocations: 120.5 kB / 0.7766 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/0.6781, allocations: 195.3 kB / 0.7768 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.6811, allocations: 3.079 MB / 0.7798 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/0.6818, allocations: 65.89 kB / 0.7798 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.682, allocations: 66.73 kB / 0.7799 GB, free: 9.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (110): * Single equations (assignments): 100 * Array equations: 8 * 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,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005791/0.6826, allocations: 286.5 kB / 0.7802 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004054/0.683, allocations: 139.9 kB / 0.7803 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/0.6865, allocations: 2.038 MB / 0.7823 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-05/0.6865, allocations: 14.47 kB / 0.7823 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6865, allocations: 4.875 kB / 0.7823 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.6865, allocations: 7.016 kB / 0.7823 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/0.6909, allocations: 2.666 MB / 0.7849 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.691, allocations: 6.766 kB / 0.7849 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/0.6916, allocations: 167.3 kB / 0.7851 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/0.692, allocations: 130.9 kB / 0.7852 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.73e-05/0.6921, allocations: 45.72 kB / 0.7853 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.6951, allocations: 3.09 MB / 0.7883 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6951, allocations: 4.812 kB / 0.7883 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.699, allocations: 2.232 MB / 0.7905 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.6993, allocations: 125.2 kB / 0.7906 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.6995, allocations: 28.78 kB / 0.7906 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.7, allocations: 19.16 kB / 0.7906 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.7002, allocations: 92.55 kB / 0.7907 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.7004, allocations: 56.88 kB / 0.7908 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007688/0.7011, allocations: 0.5983 MB / 0.7914 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.7011, allocations: 0 / 0.7914 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003035/0.7042, allocations: 1.062 MB / 0.7924 GB, free: 2.438 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow.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 (102): * Single equations (assignments): 92 * Array equations: 8 * 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,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003681/0.7079, allocations: 1.377 MB / 0.7937 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00297/0.7108, allocations: 1.395 MB / 0.7951 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7108, allocations: 0 / 0.7951 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.7122, allocations: 0.8665 MB / 0.7959 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.7149, allocations: 0.5265 MB / 0.7965 GB, free: 296 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/0.7205, allocations: 2.592 MB / 0.799 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/0.7212, allocations: 0.6183 MB / 0.7996 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001663/0.7228, allocations: 0.6815 MB / 0.8003 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/0.7233, allocations: 140.5 kB / 0.8004 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of SimCode: time 9.62e-07/0.7233, allocations: 3.938 kB / 0.8004 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.06303/0.7863, allocations: 38.96 MB / 0.8384 GB, free: 6.656 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.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.439977943897247]