Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009484/0.0009484, allocations: 75.7 kB / 20.01 MB, free: 4.508 MB / 18.57 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.0009086/0.0009086, allocations: 173.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.803/0.803, allocations: 158.6 MB / 185.1 MB, free: 3.016 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1345/0.1345, allocations: 32.38 MB / 269.7 MB, free: 14.89 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 407.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.77e-05, allocations: 9.234 kB / 407.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01389/0.01392, allocations: 16.09 MB / 423.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005696/0.01962, allocations: 6.477 MB / 429.6 MB, free: 6.762 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.02002, allocations: 31.75 kB / 429.7 MB, free: 6.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.02074, allocations: 365.5 kB / 430 MB, free: 6.371 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.02179, allocations: 0.7182 MB / 430.7 MB, free: 5.648 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.02423, allocations: 1.363 MB / 432.1 MB, free: 4.281 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.02585, allocations: 2.524 MB / 434.6 MB, free: 1.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000527/0.02638, allocations: 0.5689 MB / 435.2 MB, free: 1.164 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1943/0.2207, allocations: 1.321 MB / 436.5 MB, free: 16.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.222, allocations: 0.7213 MB / 437.2 MB, free: 16.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.2222, allocations: 87.22 kB / 437.3 MB, free: 16.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.2232, allocations: 486.1 kB / 437.8 MB, free: 16.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.2236, allocations: 401.9 kB / 438.2 MB, free: 16.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.224, allocations: 390.5 kB / 438.6 MB, free: 16.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.2257, allocations: 1.591 MB / 440.2 MB, free: 16.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2257, allocations: 0 / 440.2 MB, free: 16.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2257, allocations: 1.375 kB / 440.2 MB, free: 16.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.2257, allocations: 0 / 440.2 MB, free: 16.66 MB / 362.7 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.0017/0.2274, allocations: 1.225 MB / 441.4 MB, free: 16.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2274, allocations: 9.938 kB / 441.4 MB, free: 16.09 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.2276, allocations: 144.1 kB / 441.5 MB, free: 16.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000298/0.2279, allocations: 124.3 kB / 441.7 MB, free: 16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007467/0.2286, allocations: 0.5791 MB / 442.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.2288, allocations: 412.5 kB / 442.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/0.2289, allocations: 75.27 kB / 442.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.2303, allocations: 1.759 MB / 444.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.2303, allocations: 5.75 kB / 444.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.2304, allocations: 47.97 kB / 444.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.705e-05/0.2304, allocations: 40.64 kB / 444.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.2317, allocations: 0.9607 MB / 445.5 MB, free: 14.46 MB / 362.7 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.004352/0.236, allocations: 5.937 MB / 451.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.2365, allocations: 301.9 kB / 451.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.2368, allocations: 159 kB / 451.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.238, allocations: 0.7957 MB / 452.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.238, allocations: 38.55 kB / 452.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.422e-06/0.238, allocations: 0 / 452.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001514/0.2395, allocations: 1.048 MB / 453.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.2395, allocations: 59.09 kB / 453.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008474/0.2404, allocations: 0.9157 MB / 454.8 MB, free: 9.531 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.2404, allocations: 37.17 kB / 454.8 MB, free: 9.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.2407, allocations: 0.5817 MB / 455.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/0.2408, allocations: 147.7 kB / 455.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.241, allocations: 235.4 kB / 455.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2411, allocations: 396.3 kB / 456.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.2414, allocations: 244.1 kB / 456.4 MB, free: 8.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/0.2419, allocations: 0.9643 MB / 457.3 MB, free: 7.781 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009044/0.2428, allocations: 1.317 MB / 458.7 MB, free: 6.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/0.2428, allocations: 11.72 kB / 458.7 MB, free: 6.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001243/0.2441, allocations: 1.218 MB / 459.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.2441, allocations: 16.09 kB / 459.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.2441, allocations: 25.78 kB / 459.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.88e-05/0.2442, allocations: 37.47 kB / 460 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.2447, allocations: 282.3 kB / 460.2 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/0.2447, allocations: 47.55 kB / 460.3 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.2451, allocations: 57.88 kB / 460.3 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.2451, allocations: 79.41 kB / 460.4 MB, free: 6.41 MB / 362.7 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.0002427/0.2454, allocations: 337.1 kB / 460.8 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.2455, allocations: 91.44 kB / 460.8 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/0.2461, allocations: 488.6 kB / 461.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.2461, allocations: 4.406 kB / 461.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2461, allocations: 6.719 kB / 461.3 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2461, allocations: 0 / 461.3 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009463/0.247, allocations: 1.006 MB / 462.3 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.247, allocations: 2.312 kB / 462.3 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.2472, allocations: 65.64 kB / 462.4 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2472, allocations: 3.594 kB / 462.4 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.2472, allocations: 7.375 kB / 462.4 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2472, allocations: 15.05 kB / 462.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2472, allocations: 5.906 kB / 462.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000513/0.2477, allocations: 0.6507 MB / 463.1 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.2479, allocations: 129 kB / 463.2 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.2479, allocations: 11.69 kB / 463.2 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.2481, allocations: 21.89 kB / 463.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.2481, allocations: 28.3 kB / 463.3 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.2482, allocations: 24.72 kB / 463.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004272/0.2486, allocations: 0.5997 MB / 463.9 MB, free: 4.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2486, allocations: 0 / 463.9 MB, free: 4.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007032/0.2493, allocations: 298.4 kB / 464.2 MB, free: 4.59 MB / 362.7 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.001021/0.2503, allocations: 1.439 MB / 465.6 MB, free: 3.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005497/0.2509, allocations: 0.617 MB / 466.2 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2509, allocations: 3.312 kB / 466.2 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.251, allocations: 132.8 kB / 466.4 MB, free: 3.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.252, allocations: 424.5 kB / 466.8 MB, free: 3.328 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/0.2584, allocations: 7.928 MB / 474.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.2587, allocations: 405.6 kB / 475.1 MB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005755/0.2593, allocations: 324.4 kB / 475.4 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.2596, allocations: 300 kB / 475.7 MB, free: 13.77 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2596, allocations: 3.781 kB / 475.7 MB, free: 13.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04706/0.3066, allocations: 26.8 MB / 0.4908 GB, free: 3.062 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.392/7.698, allocations: 7.938 kB / 0.4908 GB, free: 3.055 MB / 394.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.716162756085396]