Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001855/0.001855, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002328/0.002328, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.517/1.517, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 46.97 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003089/0.003089, allocations: 67.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3113, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01908/0.3304, allocations: 16.3 MB / 0.5777 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009019/0.3394, allocations: 6.508 MB / 0.5841 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006546/0.3401, allocations: 31.75 kB / 0.5841 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009599/0.341, allocations: 361.7 kB / 0.5845 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.3425, allocations: 0.7073 MB / 0.5852 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003274/0.3458, allocations: 1.339 MB / 0.5865 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002821/0.3486, allocations: 2.556 MB / 0.589 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007779/0.3494, allocations: 0.569 MB / 0.5895 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.3511, allocations: 1.071 MB / 0.5906 GB, free: 6.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.3522, allocations: 0.798 MB / 0.5913 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.3523, allocations: 91.94 kB / 0.5914 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.3534, allocations: 483.2 kB / 0.5919 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003893/0.3538, allocations: 382.9 kB / 0.5923 GB, free: 4.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.3543, allocations: 454.2 kB / 0.5927 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.3562, allocations: 1.575 MB / 0.5942 GB, free: 2.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3562, allocations: 0 / 0.5942 GB, free: 2.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3562, allocations: 0 / 0.5942 GB, free: 2.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.3563, allocations: 3.938 kB / 0.5942 GB, free: 2.828 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.002462/0.3587, allocations: 1.237 MB / 0.5954 GB, free: 1.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3588, allocations: 8.031 kB / 0.5954 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004766/0.3592, allocations: 124.3 kB / 0.5956 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.3604, allocations: 0.5454 MB / 0.5961 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003008/0.3607, allocations: 418.9 kB / 0.5965 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3608, allocations: 92.25 kB / 0.5966 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.3631, allocations: 1.699 MB / 0.5982 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.3631, allocations: 11.92 kB / 0.5983 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.3632, allocations: 39.98 kB / 0.5983 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-05/0.3633, allocations: 37.31 kB / 0.5983 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.3649, allocations: 0.9688 MB / 0.5993 GB, free: 13.3 MB / 446.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.006495/0.3714, allocations: 5.812 MB / 0.6049 GB, free: 7.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005532/0.372, allocations: 304.5 kB / 0.6052 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.3722, allocations: 153.4 kB / 0.6054 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/0.3738, allocations: 0.7667 MB / 0.6061 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3738, allocations: 42.73 kB / 0.6062 GB, free: 5.961 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.3738, allocations: 0 / 0.6062 GB, free: 5.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002293/0.3761, allocations: 1.038 MB / 0.6072 GB, free: 4.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3762, allocations: 55.41 kB / 0.6072 GB, free: 4.824 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/0.3771, allocations: 0.7966 MB / 0.608 GB, free: 4.016 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.3771, allocations: 33.7 kB / 0.6081 GB, free: 3.977 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/0.3776, allocations: 0.5957 MB / 0.6086 GB, free: 3.375 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3777, allocations: 150.9 kB / 0.6088 GB, free: 3.227 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.378, allocations: 242.7 kB / 0.609 GB, free: 2.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3782, allocations: 386.7 kB / 0.6094 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.3786, allocations: 242.5 kB / 0.6096 GB, free: 2.359 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.3796, allocations: 0.9621 MB / 0.6105 GB, free: 1.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.3811, allocations: 1.315 MB / 0.6118 GB, free: 15.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.3811, allocations: 8 kB / 0.6118 GB, free: 15.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001893/0.383, allocations: 1.212 MB / 0.613 GB, free: 14.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.383, allocations: 16 kB / 0.613 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-05/0.3831, allocations: 27.94 kB / 0.6131 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.062e-05/0.3831, allocations: 36 kB / 0.6131 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/0.3839, allocations: 275.4 kB / 0.6134 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.353e-05/0.384, allocations: 51.84 kB / 0.6134 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.3846, allocations: 52.47 kB / 0.6135 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/0.3847, allocations: 76 kB / 0.6135 GB, free: 13.61 MB / 462.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.0004431/0.3851, allocations: 337.5 kB / 0.6139 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.3853, allocations: 79.48 kB / 0.6139 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009217/0.3862, allocations: 482.9 kB / 0.6144 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3862, allocations: 4 kB / 0.6144 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3862, allocations: 0 / 0.6144 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.3862, allocations: 3.984 kB / 0.6144 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.3879, allocations: 0.9444 MB / 0.6153 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3879, allocations: 4 kB / 0.6153 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.3882, allocations: 72.03 kB / 0.6154 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.3882, allocations: 8 kB / 0.6154 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.3882, allocations: 15.92 kB / 0.6154 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.3882, allocations: 4 kB / 0.6154 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3882, allocations: 0 / 0.6154 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.3892, allocations: 0.6451 MB / 0.6161 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.3894, allocations: 107.5 kB / 0.6162 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/0.3895, allocations: 11.94 kB / 0.6162 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.3899, allocations: 15.98 kB / 0.6162 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.3899, allocations: 19.97 kB / 0.6162 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.39, allocations: 32.03 kB / 0.6162 GB, free: 10.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006067/0.3906, allocations: 0.4912 MB / 0.6167 GB, free: 10.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3906, allocations: 0 / 0.6167 GB, free: 10.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001158/0.3918, allocations: 303.6 kB / 0.617 GB, free: 9.953 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.0005552/0.3923, allocations: 309.5 kB / 0.6173 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3933, allocations: 0.6146 MB / 0.6179 GB, free: 9.031 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.3933, allocations: 4.438 kB / 0.6179 GB, free: 9.027 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.3936, allocations: 144.8 kB / 0.618 GB, free: 8.887 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.395, allocations: 308.6 kB / 0.6183 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.3973, allocations: 1.479 MB / 0.6198 GB, free: 7.074 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.3977, allocations: 404.7 kB / 0.6202 GB, free: 6.652 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007848/0.3985, allocations: 293.5 kB / 0.6204 GB, free: 6.367 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3987, allocations: 71.42 kB / 0.6205 GB, free: 6.297 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3987, allocations: 0 / 0.6205 GB, free: 6.297 MB / 462.1 MB Notification: Performance of Templates: time 0.02579/0.4245, allocations: 14.82 MB / 0.635 GB, free: 7.762 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.5260358919913415]