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.002053/0.002053, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001629/0.001629, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.2294/0.2294, allocations: 46.95 MB / 361.6 MB, free: 4.219 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.002184/0.002184, allocations: 59.89 kB / 0.4974 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.344, allocations: 66.03 MB / 0.5619 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02143/0.3654, allocations: 18.03 MB / 0.5795 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.3756, allocations: 7.097 MB / 0.5864 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009284/0.3766, allocations: 31.75 kB / 0.5864 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.3778, allocations: 385.6 kB / 0.5868 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.3797, allocations: 0.6917 MB / 0.5875 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.3834, allocations: 1.354 MB / 0.5888 GB, free: 8.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003551/0.3869, allocations: 2.56 MB / 0.5913 GB, free: 6.113 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.388, allocations: 0.5689 MB / 0.5919 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.3903, allocations: 1.067 MB / 0.5929 GB, free: 4.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.3917, allocations: 0.798 MB / 0.5937 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.3919, allocations: 88 kB / 0.5938 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.3935, allocations: 0.6201 MB / 0.5944 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.3939, allocations: 382.9 kB / 0.5947 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006358/0.3946, allocations: 0.5134 MB / 0.5952 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.397, allocations: 1.614 MB / 0.5968 GB, free: 456 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.397, allocations: 0 / 0.5968 GB, free: 456 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.397, allocations: 0 / 0.5968 GB, free: 456 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.397, allocations: 0 / 0.5968 GB, free: 456 kB / 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.00274/0.3998, allocations: 1.237 MB / 0.598 GB, free: 15.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3998, allocations: 12.03 kB / 0.598 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005029/0.4003, allocations: 124.3 kB / 0.5982 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.4015, allocations: 0.5454 MB / 0.5987 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003356/0.4018, allocations: 407 kB / 0.5991 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.4019, allocations: 88.31 kB / 0.5992 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.404, allocations: 1.304 MB / 0.6004 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.404, allocations: 7.938 kB / 0.6004 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.4041, allocations: 40 kB / 0.6005 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.401e-05/0.4042, allocations: 45.31 kB / 0.6005 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.4058, allocations: 0.9571 MB / 0.6015 GB, free: 11.43 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.007704/0.4135, allocations: 7.01 MB / 0.6083 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005458/0.4141, allocations: 296.6 kB / 0.6086 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.4144, allocations: 153.4 kB / 0.6087 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/0.4161, allocations: 0.852 MB / 0.6096 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.4161, allocations: 38.8 kB / 0.6096 GB, free: 2.594 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.4161, allocations: 3.938 kB / 0.6096 GB, free: 2.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002321/0.4185, allocations: 1.05 MB / 0.6106 GB, free: 1.508 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4185, allocations: 55.41 kB / 0.6107 GB, free: 1.441 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.4196, allocations: 0.8723 MB / 0.6115 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.4196, allocations: 33.7 kB / 0.6116 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005321/0.4202, allocations: 0.5923 MB / 0.6121 GB, free: 15.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.4203, allocations: 142.9 kB / 0.6123 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.4206, allocations: 238.7 kB / 0.6125 GB, free: 15.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.4208, allocations: 398.5 kB / 0.6129 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.4212, allocations: 246.5 kB / 0.6131 GB, free: 14.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.4222, allocations: 0.97 MB / 0.6141 GB, free: 13.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4238, allocations: 1.319 MB / 0.6154 GB, free: 11.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.4238, allocations: 8 kB / 0.6154 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002024/0.4258, allocations: 1.212 MB / 0.6165 GB, free: 10.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.4258, allocations: 16 kB / 0.6166 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.4259, allocations: 28.09 kB / 0.6166 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.42e-05/0.4259, allocations: 36 kB / 0.6166 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/0.4267, allocations: 279.4 kB / 0.6169 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.784e-05/0.4268, allocations: 47.86 kB / 0.6169 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/0.4274, allocations: 48 kB / 0.617 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/0.4275, allocations: 75.98 kB / 0.6171 GB, free: 10.14 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.0004397/0.428, allocations: 337 kB / 0.6174 GB, free: 9.801 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.4281, allocations: 95.42 kB / 0.6175 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009497/0.4291, allocations: 495.7 kB / 0.6179 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4291, allocations: 4 kB / 0.6179 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4291, allocations: 0 / 0.6179 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.4291, allocations: 3.984 kB / 0.6179 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.4308, allocations: 1.069 MB / 0.619 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4308, allocations: 3.938 kB / 0.619 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.4311, allocations: 71.91 kB / 0.6191 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4311, allocations: 4.188 kB / 0.6191 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.4311, allocations: 16 kB / 0.6191 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4311, allocations: 3.984 kB / 0.6191 GB, free: 7.973 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4311, allocations: 4 kB / 0.6191 GB, free: 7.969 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009626/0.4321, allocations: 0.649 MB / 0.6197 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.4324, allocations: 123.3 kB / 0.6198 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.4325, allocations: 11.98 kB / 0.6199 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.4329, allocations: 19.94 kB / 0.6199 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.4329, allocations: 23.95 kB / 0.6199 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.433, allocations: 19.98 kB / 0.6199 GB, free: 7.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008839/0.4339, allocations: 0.6009 MB / 0.6205 GB, free: 6.477 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4339, allocations: 0 / 0.6205 GB, free: 6.477 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001431/0.4353, allocations: 315.5 kB / 0.6208 GB, free: 6.168 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.0006792/0.436, allocations: 301.6 kB / 0.6211 GB, free: 5.863 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.4372, allocations: 0.6188 MB / 0.6217 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4372, allocations: 64 / 0.6217 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.4375, allocations: 152.7 kB / 0.6218 GB, free: 5.102 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.4393, allocations: 416.6 kB / 0.6222 GB, free: 4.707 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.4419, allocations: 1.543 MB / 0.6237 GB, free: 3.109 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.4426, allocations: 0.9971 MB / 0.6247 GB, free: 2.082 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.4428, allocations: 87.42 kB / 0.6248 GB, free: 1.996 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4428, allocations: 0 / 0.6248 GB, free: 1.996 MB / 462.1 MB Notification: Performance of Templates: time 0.02448/0.4673, allocations: 14.85 MB / 0.6393 GB, free: 3.234 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 -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: 9.7125212890096]