Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 112.4 kB / 21.1 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002259/0.002259, allocations: 189.5 kB / 24.36 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 253 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.22/0.22, allocations: 44.91 MB / 353.2 MB, free: 11.88 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 67.89 kB / 497.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3261, allocations: 64.29 MB / 0.5484 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02116/0.3473, allocations: 17.74 MB / 0.5658 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.358, allocations: 7.038 MB / 0.5726 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.3592, allocations: 27.75 kB / 0.5727 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.3605, allocations: 393.5 kB / 0.573 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.3626, allocations: 0.6879 MB / 0.5737 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004357/0.367, allocations: 1.357 MB / 0.575 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004159/0.3712, allocations: 2.541 MB / 0.5775 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.3726, allocations: 0.5729 MB / 0.5781 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.3753, allocations: 1.059 MB / 0.5791 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.3767, allocations: 0.8057 MB / 0.5799 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.377, allocations: 84 kB / 0.58 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.3784, allocations: 491.2 kB / 0.5804 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004699/0.3789, allocations: 374.9 kB / 0.5808 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006889/0.3796, allocations: 0.5173 MB / 0.5813 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.3819, allocations: 1.526 MB / 0.5828 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3819, allocations: 0 / 0.5828 GB, free: 12.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3819, allocations: 0 / 0.5828 GB, free: 12.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3819, allocations: 0 / 0.5828 GB, free: 12.18 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.002443/0.3843, allocations: 1.233 MB / 0.584 GB, free: 10.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3844, allocations: 8.031 kB / 0.584 GB, free: 10.9 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004818/0.3849, allocations: 124.3 kB / 0.5841 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.3859, allocations: 0.5531 MB / 0.5847 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.3861, allocations: 248.8 kB / 0.5849 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.3862, allocations: 80.38 kB / 0.585 GB, free: 9.844 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.3884, allocations: 1.313 MB / 0.5863 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.3884, allocations: 7.938 kB / 0.5863 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-05/0.3885, allocations: 36 kB / 0.5863 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/0.3885, allocations: 37.31 kB / 0.5863 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.3902, allocations: 0.9649 MB / 0.5873 GB, free: 7.352 MB / 430.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.007606/0.3978, allocations: 7.022 MB / 0.5941 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.3984, allocations: 297.5 kB / 0.5944 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.3986, allocations: 157.4 kB / 0.5946 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/0.4004, allocations: 0.8599 MB / 0.5954 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.4004, allocations: 38.8 kB / 0.5955 GB, free: 14.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.4004, allocations: 0 / 0.5955 GB, free: 14.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002324/0.4027, allocations: 1.051 MB / 0.5965 GB, free: 13.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.4028, allocations: 51.41 kB / 0.5965 GB, free: 13.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.4039, allocations: 0.8721 MB / 0.5974 GB, free: 12.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.4039, allocations: 33.7 kB / 0.5974 GB, free: 12.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.4044, allocations: 0.5921 MB / 0.598 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.4045, allocations: 142.9 kB / 0.5981 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.4048, allocations: 242.7 kB / 0.5984 GB, free: 11.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.405, allocations: 394.7 kB / 0.5987 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.4055, allocations: 250.5 kB / 0.599 GB, free: 10.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.4066, allocations: 0.9621 MB / 0.5999 GB, free: 9.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.4085, allocations: 1.327 MB / 0.6012 GB, free: 7.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.4085, allocations: 8 kB / 0.6012 GB, free: 7.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002287/0.4108, allocations: 1.208 MB / 0.6024 GB, free: 6.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.4109, allocations: 16 kB / 0.6024 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.538e-05/0.4109, allocations: 28 kB / 0.6024 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.016e-05/0.411, allocations: 32 kB / 0.6025 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008374/0.4118, allocations: 283.4 kB / 0.6027 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.713e-05/0.4119, allocations: 51.8 kB / 0.6028 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.4126, allocations: 56.38 kB / 0.6028 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.4127, allocations: 76 kB / 0.6029 GB, free: 6.039 MB / 446.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.0005597/0.4133, allocations: 330.1 kB / 0.6032 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.4134, allocations: 91.44 kB / 0.6033 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009433/0.4144, allocations: 487.1 kB / 0.6038 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.4144, allocations: 4 kB / 0.6038 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4144, allocations: 3.938 kB / 0.6038 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.4144, allocations: 3.984 kB / 0.6038 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.4162, allocations: 1.061 MB / 0.6048 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4162, allocations: 4 kB / 0.6048 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.4165, allocations: 75.83 kB / 0.6049 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.4165, allocations: 4 kB / 0.6049 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.4165, allocations: 8 kB / 0.6049 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.4165, allocations: 4 kB / 0.6049 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4165, allocations: 0 / 0.6049 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4175, allocations: 0.6535 MB / 0.6056 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.4178, allocations: 135.3 kB / 0.6057 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.4179, allocations: 15.89 kB / 0.6057 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.4183, allocations: 24.05 kB / 0.6057 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.4183, allocations: 23.91 kB / 0.6057 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/0.4184, allocations: 27.97 kB / 0.6058 GB, free: 2.988 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007809/0.4192, allocations: 0.593 MB / 0.6064 GB, free: 2.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4192, allocations: 0 / 0.6064 GB, free: 2.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001065/0.4202, allocations: 299.7 kB / 0.6066 GB, free: 2.09 MB / 446.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.0007006/0.4209, allocations: 351 kB / 0.607 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.422, allocations: 0.6186 MB / 0.6076 GB, free: 1.133 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.422, allocations: 4 kB / 0.6076 GB, free: 1.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.4223, allocations: 138.4 kB / 0.6077 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.424, allocations: 434.7 kB / 0.6081 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.4265, allocations: 1.49 MB / 0.6096 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.4272, allocations: 1.001 MB / 0.6106 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009926/0.4282, allocations: 315.9 kB / 0.6109 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.4283, allocations: 75.42 kB / 0.6109 GB, free: 13.63 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4283, allocations: 0 / 0.6109 GB, free: 13.63 MB / 462.1 MB Notification: Performance of Templates: time 0.03336/0.4617, allocations: 16.94 MB / 0.6275 GB, free: 12.85 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.612160970456898]