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.001491/0.001491, allocations: 105 kB / 20.44 MB, free: 1.504 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.001645/0.001645, allocations: 217.5 kB / 23.76 MB, free: 4.723 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.309/1.309, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 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.201/0.201, allocations: 44.24 MB / 331 MB, free: 9.531 MB / 270.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002086/0.002086, allocations: 74.55 kB / 468.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1086, allocations: 61.04 MB / 0.5174 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0193/0.1279, allocations: 17.91 MB / 0.5349 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2048/0.3326, allocations: 7.066 MB / 0.5418 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007951/0.3334, allocations: 29.62 kB / 0.5418 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.3344, allocations: 395.3 kB / 0.5422 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.3358, allocations: 0.6854 MB / 0.5428 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.3389, allocations: 1.362 MB / 0.5442 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.342, allocations: 2.543 MB / 0.5466 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009885/0.343, allocations: 0.5756 MB / 0.5472 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.345, allocations: 1.059 MB / 0.5482 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.3464, allocations: 0.7978 MB / 0.549 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.3466, allocations: 87.75 kB / 0.5491 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.3481, allocations: 0.573 MB / 0.5497 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003922/0.3485, allocations: 381.5 kB / 0.55 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006005/0.3491, allocations: 0.5096 MB / 0.5505 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.3513, allocations: 1.548 MB / 0.552 GB, free: 9.363 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3513, allocations: 1.062 kB / 0.552 GB, free: 9.363 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3513, allocations: 0 / 0.552 GB, free: 9.363 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.3514, allocations: 0 / 0.552 GB, free: 9.363 MB / 414.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.002654/0.354, allocations: 1.239 MB / 0.5533 GB, free: 8.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3541, allocations: 9.5 kB / 0.5533 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005025/0.3546, allocations: 124.1 kB / 0.5534 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.3557, allocations: 0.5539 MB / 0.5539 GB, free: 8.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.3559, allocations: 413.4 kB / 0.5543 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.356, allocations: 77.02 kB / 0.5544 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.3579, allocations: 1.308 MB / 0.5557 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.3579, allocations: 7.375 kB / 0.5557 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.358, allocations: 43.14 kB / 0.5557 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/0.3581, allocations: 45.14 kB / 0.5558 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.3597, allocations: 0.9663 MB / 0.5567 GB, free: 7.637 MB / 414.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.006246/0.366, allocations: 7.008 MB / 0.5635 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.3665, allocations: 298.5 kB / 0.5638 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.3667, allocations: 158.2 kB / 0.564 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001671/0.3684, allocations: 0.8627 MB / 0.5648 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3684, allocations: 41.56 kB / 0.5649 GB, free: 1.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3684, allocations: 0 / 0.5649 GB, free: 1.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002102/0.3705, allocations: 1.048 MB / 0.5659 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.3706, allocations: 53.72 kB / 0.5659 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.3716, allocations: 0.8748 MB / 0.5668 GB, free: 200 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.3716, allocations: 37.02 kB / 0.5668 GB, free: 160 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.3721, allocations: 0.5897 MB / 0.5674 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.3722, allocations: 146.5 kB / 0.5675 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.3725, allocations: 244.5 kB / 0.5678 GB, free: 15.45 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.3727, allocations: 398.8 kB / 0.5682 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.3731, allocations: 248.1 kB / 0.5684 GB, free: 15.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.3742, allocations: 0.9617 MB / 0.5693 GB, free: 13.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.3759, allocations: 1.322 MB / 0.5706 GB, free: 12.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.3759, allocations: 13.56 kB / 0.5706 GB, free: 12.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00193/0.3778, allocations: 1.209 MB / 0.5718 GB, free: 12.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.3778, allocations: 20.02 kB / 0.5718 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.3779, allocations: 25.53 kB / 0.5719 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.678e-05/0.3779, allocations: 34.56 kB / 0.5719 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000754/0.3787, allocations: 272.6 kB / 0.5721 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.261e-05/0.3787, allocations: 51.95 kB / 0.5722 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.3795, allocations: 53.25 kB / 0.5723 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.492e-05/0.3796, allocations: 83.66 kB / 0.5723 GB, free: 12.11 MB / 430.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.0004617/0.38, allocations: 333.7 kB / 0.5726 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.3802, allocations: 91.66 kB / 0.5727 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008618/0.3811, allocations: 491.5 kB / 0.5732 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3811, allocations: 4.594 kB / 0.5732 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3811, allocations: 0 / 0.5732 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3811, allocations: 3 kB / 0.5732 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.3828, allocations: 1.066 MB / 0.5743 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3828, allocations: 1.281 kB / 0.5743 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.3831, allocations: 75.16 kB / 0.5743 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.3831, allocations: 3.781 kB / 0.5743 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.3831, allocations: 9.312 kB / 0.5743 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3831, allocations: 3.188 kB / 0.5743 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3831, allocations: 1.625 kB / 0.5743 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009276/0.3841, allocations: 0.664 MB / 0.575 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.3844, allocations: 129 kB / 0.5751 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3845, allocations: 12.34 kB / 0.5751 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.3848, allocations: 20.55 kB / 0.5751 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.3849, allocations: 22.67 kB / 0.5752 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.3849, allocations: 25.56 kB / 0.5752 GB, free: 10.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007273/0.3856, allocations: 0.5958 MB / 0.5758 GB, free: 10.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3856, allocations: 0 / 0.5758 GB, free: 10.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001205/0.3869, allocations: 298.9 kB / 0.5761 GB, free: 10.21 MB / 430.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.0007326/0.3876, allocations: 347.7 kB / 0.5764 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3887, allocations: 0.6251 MB / 0.577 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3887, allocations: 2.406 kB / 0.577 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.3889, allocations: 133.7 kB / 0.5771 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.3907, allocations: 429.7 kB / 0.5775 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.3933, allocations: 1.547 MB / 0.5791 GB, free: 8.691 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.3939, allocations: 0.9978 MB / 0.58 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.3941, allocations: 91.14 kB / 0.5801 GB, free: 7.828 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3941, allocations: 0 / 0.5801 GB, free: 7.828 MB / 430.1 MB Notification: Performance of Templates: time 0.02354/0.4176, allocations: 14.9 MB / 0.5947 GB, free: 14.2 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/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: 8.834727619076148]