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.001714/0.001714, allocations: 71.75 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.002117/0.002117, allocations: 169.2 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.469/1.469, allocations: 177.2 MB / 204.9 MB, free: 9.066 MB / 190.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.2063/0.2063, allocations: 34.27 MB / 295.5 MB, free: 14.62 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.002025/0.002025, allocations: 63.91 kB / 443.1 MB, free: 6.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2832, allocations: 66.02 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01306/0.2962, allocations: 16.31 MB / 0.5132 GB, free: 18.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007072/0.3033, allocations: 6.496 MB / 0.5195 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006926/0.304, allocations: 29.34 kB / 0.5195 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009818/0.305, allocations: 365.9 kB / 0.5199 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.3064, allocations: 0.6971 MB / 0.5206 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.3097, allocations: 1.327 MB / 0.5219 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003038/0.3127, allocations: 2.547 MB / 0.5243 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000917/0.3136, allocations: 0.5688 MB / 0.5249 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.3156, allocations: 1.07 MB / 0.5259 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.317, allocations: 0.7835 MB / 0.5267 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.3172, allocations: 86.34 kB / 0.5268 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.3186, allocations: 487 kB / 0.5273 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003909/0.319, allocations: 383 kB / 0.5276 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005643/0.3195, allocations: 443.2 kB / 0.528 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.3218, allocations: 1.586 MB / 0.5296 GB, free: 10.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3218, allocations: 0 / 0.5296 GB, free: 10.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3218, allocations: 0 / 0.5296 GB, free: 10.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.472e-05/0.3218, allocations: 1.219 kB / 0.5296 GB, free: 10.04 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.002388/0.3242, allocations: 1.233 MB / 0.5308 GB, free: 9.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3242, allocations: 9.812 kB / 0.5308 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004941/0.3247, allocations: 124.3 kB / 0.5309 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.3257, allocations: 0.5583 MB / 0.5315 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.3259, allocations: 411 kB / 0.5319 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.326, allocations: 80.27 kB / 0.5319 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.328, allocations: 1.707 MB / 0.5336 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.328, allocations: 7.062 kB / 0.5336 GB, free: 7.215 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.3281, allocations: 40.03 kB / 0.5336 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.598e-05/0.3282, allocations: 38.06 kB / 0.5337 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.3297, allocations: 0.9608 MB / 0.5346 GB, free: 6.867 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.007992/0.3377, allocations: 5.819 MB / 0.5403 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008298/0.3385, allocations: 302.5 kB / 0.5406 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/0.339, allocations: 162.1 kB / 0.5407 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002318/0.3413, allocations: 0.7718 MB / 0.5415 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3413, allocations: 43.78 kB / 0.5415 GB, free: 1.516 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.567e-06/0.3413, allocations: 7.922 kB / 0.5415 GB, free: 1.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.003302/0.3446, allocations: 1.03 MB / 0.5426 GB, free: 0.957 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.3446, allocations: 55.77 kB / 0.5426 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.346, allocations: 0.7924 MB / 0.5434 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.346, allocations: 36.67 kB / 0.5434 GB, free: 500 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.3464, allocations: 0.6001 MB / 0.544 GB, free: 15.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.3466, allocations: 148.2 kB / 0.5441 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/0.3471, allocations: 237.9 kB / 0.5444 GB, free: 15.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002937/0.3474, allocations: 389 kB / 0.5447 GB, free: 15.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/0.3481, allocations: 247.2 kB / 0.545 GB, free: 15.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.3497, allocations: 0.9627 MB / 0.5459 GB, free: 14.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.3522, allocations: 1.315 MB / 0.5472 GB, free: 13.04 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.087e-05/0.3522, allocations: 6.594 kB / 0.5472 GB, free: 13.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003118/0.3553, allocations: 1.212 MB / 0.5484 GB, free: 12.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.3554, allocations: 16.31 kB / 0.5484 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/0.3554, allocations: 24.72 kB / 0.5484 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.546e-05/0.3555, allocations: 35.28 kB / 0.5485 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.3568, allocations: 278.4 kB / 0.5487 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.878e-05/0.3569, allocations: 50.98 kB / 0.5488 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3581, allocations: 49.61 kB / 0.5488 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.3583, allocations: 82.44 kB / 0.5489 GB, free: 12.33 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.0007059/0.359, allocations: 337 kB / 0.5492 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.3592, allocations: 77.03 kB / 0.5493 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.3605, allocations: 485.3 kB / 0.5498 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3606, allocations: 3.688 kB / 0.5498 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3606, allocations: 3.938 kB / 0.5498 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3606, allocations: 0 / 0.5498 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.363, allocations: 0.9496 MB / 0.5507 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.363, allocations: 1.312 kB / 0.5507 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004462/0.3635, allocations: 69.09 kB / 0.5508 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.3635, allocations: 7.125 kB / 0.5508 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.3635, allocations: 12.5 kB / 0.5508 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/0.3635, allocations: 11.61 kB / 0.5508 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3635, allocations: 1.344 kB / 0.5508 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.365, allocations: 0.6419 MB / 0.5514 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.3654, allocations: 110.8 kB / 0.5515 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.3655, allocations: 20.55 kB / 0.5515 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.3661, allocations: 11.06 kB / 0.5516 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.3662, allocations: 25.73 kB / 0.5516 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.769e-05/0.3662, allocations: 31.94 kB / 0.5516 GB, free: 10.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009621/0.3672, allocations: 496.6 kB / 0.5521 GB, free: 10.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3672, allocations: 0 / 0.5521 GB, free: 10.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002102/0.3693, allocations: 299.5 kB / 0.5524 GB, free: 10.15 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.0007396/0.37, allocations: 300.4 kB / 0.5527 GB, free: 9.969 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.3717, allocations: 0.6122 MB / 0.5533 GB, free: 9.699 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3717, allocations: 1.688 kB / 0.5533 GB, free: 9.699 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.3721, allocations: 144.2 kB / 0.5534 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.3743, allocations: 321.8 kB / 0.5537 GB, free: 9.461 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.3778, allocations: 1.471 MB / 0.5551 GB, free: 8.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/0.3785, allocations: 404.3 kB / 0.5555 GB, free: 8.289 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001428/0.3799, allocations: 301.4 kB / 0.5558 GB, free: 8.141 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.3801, allocations: 64.48 kB / 0.5559 GB, free: 8.078 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3801, allocations: 0 / 0.5559 GB, free: 8.078 MB / 462.1 MB Notification: Performance of Templates: time 0.03085/0.411, allocations: 13.26 MB / 0.5688 GB, free: 11.09 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 -s ida -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: 5.452868532040156]