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.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.001366/0.001366, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001461/0.001461, allocations: 169.9 kB / 24.5 MB, free: 3.453 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.449/1.449, allocations: 177.2 MB / 204.9 MB, free: 9.062 MB / 190.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.2053/0.2053, allocations: 32.8 MB / 294.1 MB, free: 68 kB / 270.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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002161/0.002161, allocations: 59.91 kB / 440.5 MB, free: 9.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3082, allocations: 65.44 MB / 0.4941 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01321/0.3214, allocations: 16.34 MB / 0.5101 GB, free: 20.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006486/0.3279, allocations: 6.497 MB / 0.5164 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005673/0.3284, allocations: 30.78 kB / 0.5165 GB, free: 16.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000874/0.3293, allocations: 367.3 kB / 0.5168 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.3305, allocations: 0.6969 MB / 0.5175 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.3338, allocations: 1.326 MB / 0.5188 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002839/0.3366, allocations: 2.556 MB / 0.5213 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008868/0.3375, allocations: 0.5563 MB / 0.5218 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.3393, allocations: 1.082 MB / 0.5229 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.3404, allocations: 0.7716 MB / 0.5236 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.3406, allocations: 86.56 kB / 0.5237 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.3422, allocations: 487.2 kB / 0.5242 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004153/0.3426, allocations: 386.5 kB / 0.5245 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005199/0.3431, allocations: 446.4 kB / 0.525 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.3453, allocations: 1.581 MB / 0.5265 GB, free: 11.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3453, allocations: 5.062 kB / 0.5265 GB, free: 11.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3453, allocations: 0.5625 kB / 0.5265 GB, free: 11.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.3454, allocations: 0 / 0.5265 GB, free: 11.65 MB / 446.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.002496/0.3479, allocations: 1.23 MB / 0.5277 GB, free: 10.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3479, allocations: 10.02 kB / 0.5277 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/0.3484, allocations: 131.6 kB / 0.5279 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.3494, allocations: 0.5465 MB / 0.5284 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.3496, allocations: 409.2 kB / 0.5288 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.3497, allocations: 78.89 kB / 0.5289 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.3518, allocations: 1.707 MB / 0.5305 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.3518, allocations: 10.31 kB / 0.5305 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.3519, allocations: 37.5 kB / 0.5306 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.352, allocations: 45.3 kB / 0.5306 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.3536, allocations: 0.9596 MB / 0.5316 GB, free: 8.488 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.005395/0.359, allocations: 5.824 MB / 0.5372 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.3595, allocations: 295.2 kB / 0.5375 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.3598, allocations: 157.4 kB / 0.5377 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001612/0.3614, allocations: 0.7773 MB / 0.5384 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.3614, allocations: 46.73 kB / 0.5385 GB, free: 3.137 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.913e-06/0.3614, allocations: 0 / 0.5385 GB, free: 3.137 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002292/0.3637, allocations: 1.036 MB / 0.5395 GB, free: 2.582 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.3637, allocations: 55.53 kB / 0.5395 GB, free: 2.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.3648, allocations: 0.7909 MB / 0.5403 GB, free: 2.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.3648, allocations: 33.83 kB / 0.5403 GB, free: 2.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.3652, allocations: 0.5984 MB / 0.5409 GB, free: 1.625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3653, allocations: 142.5 kB / 0.5411 GB, free: 1.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.3656, allocations: 243.8 kB / 0.5413 GB, free: 1.395 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3657, allocations: 388.8 kB / 0.5417 GB, free: 1.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.3661, allocations: 246.7 kB / 0.5419 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007851/0.3669, allocations: 0.9592 MB / 0.5428 GB, free: 15.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.3686, allocations: 1.324 MB / 0.5441 GB, free: 14.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.3687, allocations: 6.875 kB / 0.5441 GB, free: 14.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001997/0.3707, allocations: 1.203 MB / 0.5453 GB, free: 14.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.3707, allocations: 20.22 kB / 0.5453 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/0.3707, allocations: 31.08 kB / 0.5454 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.076e-05/0.3708, allocations: 34.47 kB / 0.5454 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/0.3716, allocations: 278.9 kB / 0.5457 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.916e-05/0.3716, allocations: 51.47 kB / 0.5457 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/0.3724, allocations: 50 kB / 0.5458 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.3725, allocations: 72.17 kB / 0.5458 GB, free: 14.09 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.0005115/0.373, allocations: 332.5 kB / 0.5461 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.3731, allocations: 90.14 kB / 0.5462 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009493/0.3741, allocations: 482.5 kB / 0.5467 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.3741, allocations: 5.016 kB / 0.5467 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3741, allocations: 0 / 0.5467 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.3741, allocations: 3.359 kB / 0.5467 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.3759, allocations: 0.953 MB / 0.5476 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.3759, allocations: 1.312 kB / 0.5476 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.3762, allocations: 71.95 kB / 0.5477 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3762, allocations: 2.406 kB / 0.5477 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.3762, allocations: 17.03 kB / 0.5477 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3762, allocations: 10.59 kB / 0.5477 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/0.3762, allocations: 0 / 0.5477 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009955/0.3772, allocations: 0.6423 MB / 0.5484 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.3775, allocations: 111.4 kB / 0.5485 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.3776, allocations: 21.36 kB / 0.5485 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.3779, allocations: 11.95 kB / 0.5485 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.378, allocations: 27.44 kB / 0.5485 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.378, allocations: 22.52 kB / 0.5485 GB, free: 12.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006741/0.3787, allocations: 0.4913 MB / 0.549 GB, free: 12.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3787, allocations: 0 / 0.549 GB, free: 12.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001401/0.3801, allocations: 296.3 kB / 0.5493 GB, free: 12.3 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.0005969/0.3807, allocations: 312 kB / 0.5496 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3818, allocations: 0.6136 MB / 0.5502 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.3818, allocations: 1.406 kB / 0.5502 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.3821, allocations: 146.4 kB / 0.5503 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.3836, allocations: 312.6 kB / 0.5506 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.3861, allocations: 1.461 MB / 0.5521 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.3865, allocations: 413.1 kB / 0.5525 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009217/0.3875, allocations: 291.4 kB / 0.5527 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.3876, allocations: 70.2 kB / 0.5528 GB, free: 10.36 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3876, allocations: 4 kB / 0.5528 GB, free: 10.35 MB / 462.1 MB Notification: Performance of Templates: time 0.02537/0.413, allocations: 13.27 MB / 0.5658 GB, free: 14.34 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/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.413349459995516]