Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.001423/0.001423, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001512/0.001512, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.93 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.89 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2956, allocations: 65.48 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01918/0.3148, allocations: 16.3 MB / 0.5729 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009353/0.3242, allocations: 6.505 MB / 0.5792 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007384/0.3249, allocations: 31.75 kB / 0.5793 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.3259, allocations: 369.6 kB / 0.5796 GB, free: 248 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.3275, allocations: 0.6958 MB / 0.5803 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.3309, allocations: 1.333 MB / 0.5816 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.3338, allocations: 2.548 MB / 0.5841 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000913/0.3348, allocations: 0.5728 MB / 0.5847 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.3367, allocations: 1.071 MB / 0.5857 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.3379, allocations: 0.7706 MB / 0.5864 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.3381, allocations: 88 kB / 0.5865 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.3393, allocations: 487.2 kB / 0.587 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003801/0.3397, allocations: 378.9 kB / 0.5874 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.3402, allocations: 446.2 kB / 0.5878 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.3423, allocations: 1.588 MB / 0.5893 GB, free: 6.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3423, allocations: 0 / 0.5893 GB, free: 6.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3423, allocations: 0 / 0.5893 GB, free: 6.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3423, allocations: 0 / 0.5893 GB, free: 6.27 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002325/0.3446, allocations: 1.241 MB / 0.5905 GB, free: 4.992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3447, allocations: 8.031 kB / 0.5906 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.3448, allocations: 147.2 kB / 0.5907 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004476/0.3453, allocations: 128.3 kB / 0.5908 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.3464, allocations: 0.5455 MB / 0.5914 GB, free: 4.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.3467, allocations: 411 kB / 0.5917 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.3468, allocations: 88.08 kB / 0.5918 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.3491, allocations: 1.695 MB / 0.5935 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.3491, allocations: 11.88 kB / 0.5935 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.3492, allocations: 39.98 kB / 0.5935 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-05/0.3493, allocations: 45.25 kB / 0.5936 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.3509, allocations: 0.9572 MB / 0.5945 GB, free: 0.5977 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006744/0.3577, allocations: 5.929 MB / 0.6003 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.3582, allocations: 288.7 kB / 0.6006 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.3585, allocations: 157.4 kB / 0.6007 GB, free: 9.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001659/0.3602, allocations: 0.8054 MB / 0.6015 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3602, allocations: 38.8 kB / 0.6015 GB, free: 9.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.814e-06/0.3602, allocations: 0 / 0.6015 GB, free: 9.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002351/0.3625, allocations: 1.038 MB / 0.6026 GB, free: 8.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3626, allocations: 59.34 kB / 0.6026 GB, free: 7.969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3637, allocations: 0.9146 MB / 0.6035 GB, free: 7.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.3638, allocations: 37.7 kB / 0.6035 GB, free: 7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004984/0.3643, allocations: 0.5883 MB / 0.6041 GB, free: 6.402 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.3644, allocations: 138.9 kB / 0.6043 GB, free: 6.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.3647, allocations: 238.7 kB / 0.6045 GB, free: 6.027 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.3649, allocations: 402.7 kB / 0.6049 GB, free: 5.625 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.3654, allocations: 242.5 kB / 0.6051 GB, free: 5.387 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.3665, allocations: 0.966 MB / 0.606 GB, free: 4.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.3681, allocations: 1.319 MB / 0.6073 GB, free: 2.383 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.3681, allocations: 7.938 kB / 0.6073 GB, free: 2.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002018/0.3702, allocations: 1.216 MB / 0.6085 GB, free: 1.152 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.3702, allocations: 16.22 kB / 0.6085 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/0.3702, allocations: 32 kB / 0.6086 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.627e-05/0.3703, allocations: 36 kB / 0.6086 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/0.3711, allocations: 275.5 kB / 0.6089 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.119e-05/0.3711, allocations: 59.77 kB / 0.6089 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/0.3718, allocations: 48 kB / 0.609 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/0.3719, allocations: 72 kB / 0.609 GB, free: 0.625 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004509/0.3724, allocations: 338.6 kB / 0.6094 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.3725, allocations: 91.44 kB / 0.6094 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/0.3735, allocations: 491.1 kB / 0.6099 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3735, allocations: 3.984 kB / 0.6099 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3735, allocations: 4 kB / 0.6099 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3735, allocations: 0 / 0.6099 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.3752, allocations: 1.014 MB / 0.6109 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3752, allocations: 3.938 kB / 0.6109 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.3755, allocations: 71.89 kB / 0.611 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.3755, allocations: 4 kB / 0.611 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.3755, allocations: 8 kB / 0.611 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3755, allocations: 4 kB / 0.611 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3755, allocations: 4 kB / 0.611 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3766, allocations: 0.6646 MB / 0.6117 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.377, allocations: 127.3 kB / 0.6118 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.3771, allocations: 8 kB / 0.6118 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.3776, allocations: 15.98 kB / 0.6118 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.3776, allocations: 23.95 kB / 0.6118 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/0.3777, allocations: 23.98 kB / 0.6118 GB, free: 13.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009052/0.3786, allocations: 0.593 MB / 0.6124 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3786, allocations: 0 / 0.6124 GB, free: 13.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001137/0.3797, allocations: 303.6 kB / 0.6127 GB, free: 12.72 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001688/0.3814, allocations: 1.407 MB / 0.6141 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.3825, allocations: 0.6189 MB / 0.6147 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3825, allocations: 0 / 0.6147 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.3827, allocations: 140.7 kB / 0.6148 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.3845, allocations: 428.4 kB / 0.6152 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.3951, allocations: 8.019 MB / 0.6231 GB, free: 1.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.3955, allocations: 405.5 kB / 0.6235 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009254/0.3965, allocations: 311.8 kB / 0.6238 GB, free: 496 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.3968, allocations: 299.3 kB / 0.624 GB, free: 196 kB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3968, allocations: 0 / 0.624 GB, free: 196 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06239/0.4592, allocations: 26.62 MB / 0.65 GB, free: 6.027 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.75, allocations: 20.62 kB / 0.6501 GB, free: 6.012 MB / 494.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.68682300997898]