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.001359/0.001359, allocations: 74.19 kB / 19.93 MB, free: 1.77 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.00141/0.00141, allocations: 170.1 kB / 23.22 MB, free: 4.887 MB / 14.72 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 1.376/1.376, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] 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.2074/0.2074, allocations: 32.38 MB / 269.6 MB, free: 4.648 MB / 254.1 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: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 407.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.372e-05, allocations: 2.281 kB / 407.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0204/0.02043, allocations: 16.09 MB / 423.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.03056, allocations: 6.462 MB / 429.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007484/0.03131, allocations: 31.75 kB / 429.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.03242, allocations: 377.4 kB / 430.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.03414, allocations: 0.7066 MB / 431 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003784/0.03793, allocations: 1.397 MB / 432.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003151/0.04108, allocations: 2.52 MB / 434.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009662/0.04204, allocations: 0.5689 MB / 435.5 MB, free: 6.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.0443, allocations: 1.324 MB / 436.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.04551, allocations: 0.7245 MB / 437.6 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.0457, allocations: 88 kB / 437.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.04691, allocations: 486.9 kB / 438.1 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004491/0.04736, allocations: 402.8 kB / 438.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005516/0.04791, allocations: 391.1 kB / 438.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.05034, allocations: 1.589 MB / 440.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.05034, allocations: 0 / 440.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.05034, allocations: 0 / 440.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.05036, allocations: 4 kB / 440.5 MB, free: 1.762 MB / 366.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.002928/0.05329, allocations: 1.225 MB / 441.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.05333, allocations: 8.031 kB / 441.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005279/0.05386, allocations: 128.3 kB / 441.8 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.055, allocations: 0.5448 MB / 442.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003338/0.05533, allocations: 411 kB / 442.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.05548, allocations: 80.33 kB / 442.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.05787, allocations: 1.761 MB / 444.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.05791, allocations: 12.12 kB / 444.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.05803, allocations: 43.88 kB / 444.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.946e-05/0.0581, allocations: 49.22 kB / 444.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.05993, allocations: 0.9572 MB / 445.7 MB, free: 12.18 MB / 382.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.007424/0.06735, allocations: 5.821 MB / 451.5 MB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000613/0.06797, allocations: 293.8 kB / 451.8 MB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/0.06826, allocations: 153.4 kB / 451.9 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/0.06997, allocations: 0.7821 MB / 452.7 MB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.07001, allocations: 42.78 kB / 452.8 MB, free: 4.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.07002, allocations: 0 / 452.8 MB, free: 4.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002521/0.07254, allocations: 1.042 MB / 453.8 MB, free: 3.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.07259, allocations: 55.41 kB / 453.9 MB, free: 3.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.0736, allocations: 0.7966 MB / 454.7 MB, free: 2.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.07365, allocations: 29.7 kB / 454.7 MB, free: 2.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004862/0.07413, allocations: 0.6035 MB / 455.3 MB, free: 2.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.07425, allocations: 138.9 kB / 455.4 MB, free: 2.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.07456, allocations: 238.7 kB / 455.7 MB, free: 1.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002897/0.07485, allocations: 382.8 kB / 456 MB, free: 1.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.0753, allocations: 242.5 kB / 456.3 MB, free: 1.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.07649, allocations: 0.966 MB / 457.2 MB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/0.07831, allocations: 1.319 MB / 458.6 MB, free: 14.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.07833, allocations: 8 kB / 458.6 MB, free: 14.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002136/0.08046, allocations: 1.204 MB / 459.8 MB, free: 13.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.0805, allocations: 16 kB / 459.8 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-05/0.08054, allocations: 28 kB / 459.8 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.274e-05/0.08059, allocations: 32 kB / 459.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/0.08145, allocations: 279.5 kB / 460.1 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.255e-05/0.0815, allocations: 63.7 kB / 460.2 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/0.08215, allocations: 52.45 kB / 460.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.08226, allocations: 79.94 kB / 460.3 MB, free: 12.49 MB / 398.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.0005231/0.08278, allocations: 335.2 kB / 460.6 MB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.08292, allocations: 79.47 kB / 460.7 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.08399, allocations: 478.2 kB / 461.2 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.084, allocations: 11.94 kB / 461.2 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.084, allocations: 0 / 461.2 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.08401, allocations: 3.984 kB / 461.2 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.08573, allocations: 0.9444 MB / 462.1 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.08574, allocations: 0 / 462.1 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.08605, allocations: 67.91 kB / 462.2 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.08606, allocations: 4 kB / 462.2 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.08609, allocations: 16.17 kB / 462.2 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.0861, allocations: 7.938 kB / 462.2 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.0861, allocations: 0 / 462.2 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.08718, allocations: 0.6421 MB / 462.9 MB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.08741, allocations: 107.5 kB / 463 MB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.269e-05/0.0875, allocations: 15.89 kB / 463 MB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.08789, allocations: 15.98 kB / 463 MB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/0.08796, allocations: 31.89 kB / 463 MB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/0.08801, allocations: 23.98 kB / 463.1 MB, free: 9.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006614/0.08867, allocations: 0.4951 MB / 463.6 MB, free: 9.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08867, allocations: 0 / 463.6 MB, free: 9.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001145/0.08982, allocations: 291.7 kB / 463.8 MB, free: 8.836 MB / 398.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.0008229/0.09064, allocations: 356.1 kB / 464.2 MB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.09175, allocations: 0.6139 MB / 464.8 MB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.09175, allocations: 4 kB / 464.8 MB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.09202, allocations: 138.3 kB / 464.9 MB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/0.09354, allocations: 295.2 kB / 465.2 MB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.09609, allocations: 1.388 MB / 466.6 MB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.09659, allocations: 412.8 kB / 467 MB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008923/0.09748, allocations: 287.1 kB / 467.3 MB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.09764, allocations: 76.42 kB / 467.4 MB, free: 5.23 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.09764, allocations: 4 kB / 467.4 MB, free: 5.227 MB / 398.1 MB Notification: Performance of Templates: time 0.2035/0.3011, allocations: 13.22 MB / 480.6 MB, free: 70.63 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/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: 5.5658467300236225]