Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000937/0.000937, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9582/0.9582, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2683/0.2683, allocations: 34.85 MB / 296.3 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.h|mixingVolume1.medium.p|mixingVolume2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.054e-05, allocations: 3.156 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.01566/0.01568, allocations: 18.92 MB / 397.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.03076, allocations: 15.24 MB / 412.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006271/0.03139, allocations: 39.62 kB / 413 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.032, allocations: 341.4 kB / 413.3 MB, free: 15.4 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.04292, allocations: 5.356 MB / 418.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.04764, allocations: 2.462 MB / 421.1 MB, free: 7.551 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.05009, allocations: 3.077 MB / 424.2 MB, free: 4.465 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006871/0.05077, allocations: 0.7396 MB / 424.9 MB, free: 3.715 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/0.05429, allocations: 3.105 MB / 428 MB, free: 0.582 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008645/0.06294, allocations: 7.451 MB / 435.5 MB, free: 9.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.06312, allocations: 112 kB / 435.6 MB, free: 8.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.07334, allocations: 7.3 MB / 442.9 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003266/0.07367, allocations: 430.6 kB / 443.3 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005081/0.07417, allocations: 0.5028 MB / 443.8 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1899/0.2641, allocations: 6.417 MB / 450.2 MB, free: 64.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2641, allocations: 2.438 kB / 450.2 MB, free: 64.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2641, allocations: 0 / 450.2 MB, free: 64.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.666e-05/0.2641, allocations: 0 / 450.2 MB, free: 64.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.00363/0.2677, allocations: 2.168 MB / 452.4 MB, free: 63.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2678, allocations: 8.062 kB / 452.4 MB, free: 63.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.2702, allocations: 0.8108 MB / 453.2 MB, free: 63.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007702/0.2709, allocations: 0.7514 MB / 454 MB, free: 63.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.2711, allocations: 312.8 kB / 454.3 MB, free: 63.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.2712, allocations: 114.5 kB / 454.4 MB, free: 63.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.2731, allocations: 1.901 MB / 456.3 MB, free: 62.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.2731, allocations: 6.406 kB / 456.3 MB, free: 62.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/0.2732, allocations: 49.19 kB / 456.3 MB, free: 62.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/0.2732, allocations: 46.97 kB / 456.4 MB, free: 62.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.2748, allocations: 1.022 MB / 457.4 MB, free: 62.19 MB / 410.7 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.004108/0.2789, allocations: 7.351 MB / 464.8 MB, free: 57.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.2803, allocations: 0.8165 MB / 465.6 MB, free: 57.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.2805, allocations: 223.7 kB / 465.8 MB, free: 57.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01609/0.2966, allocations: 9.726 MB / 475.5 MB, free: 56.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.2967, allocations: 47.98 kB / 475.6 MB, free: 56.45 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004687/0.2971, allocations: 103.2 kB / 475.7 MB, free: 56.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.224e-06/0.2971, allocations: 0 / 475.7 MB, free: 56.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.005185/0.3023, allocations: 2.673 MB / 478.3 MB, free: 55.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3024, allocations: 112.3 kB / 478.5 MB, free: 55.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008243/0.3032, allocations: 0.7766 MB / 479.2 MB, free: 55.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.3032, allocations: 42.39 kB / 479.3 MB, free: 55.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.3035, allocations: 0.6423 MB / 479.9 MB, free: 55.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.3037, allocations: 292.9 kB / 480.2 MB, free: 54.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/0.304, allocations: 285.4 kB / 480.5 MB, free: 54.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3042, allocations: 0.5786 MB / 481.1 MB, free: 54.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.3045, allocations: 234.7 kB / 481.3 MB, free: 54.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006847/0.3052, allocations: 1.098 MB / 482.4 MB, free: 53.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.3064, allocations: 1.356 MB / 483.7 MB, free: 52.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.3064, allocations: 9.875 kB / 483.8 MB, free: 52.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001759/0.3082, allocations: 1.32 MB / 485.1 MB, free: 52.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3082, allocations: 13.22 kB / 485.1 MB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.3082, allocations: 24.05 kB / 485.1 MB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.3095, allocations: 0.5047 MB / 485.6 MB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.31, allocations: 243 kB / 485.9 MB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.3111, allocations: 2.001 MB / 487.9 MB, free: 50.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.3115, allocations: 62.27 kB / 487.9 MB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/0.3116, allocations: 76.08 kB / 488 MB, free: 50.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],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 (131): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0002676/0.3119, allocations: 262.1 kB / 488.2 MB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.312, allocations: 123.6 kB / 488.4 MB, free: 50.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.3148, allocations: 2.863 MB / 491.2 MB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.48e-05/0.3148, allocations: 61.36 kB / 491.3 MB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3148, allocations: 0 / 491.3 MB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.3148, allocations: 4.781 kB / 491.3 MB, free: 49.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/0.318, allocations: 3.798 MB / 495.1 MB, free: 48.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.318, allocations: 0 / 495.1 MB, free: 48.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.3182, allocations: 136.2 kB / 495.2 MB, free: 48.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007288/0.319, allocations: 406.6 kB / 495.6 MB, free: 48.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.319, allocations: 29.06 kB / 495.6 MB, free: 48.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006138/0.3196, allocations: 1.869 MB / 497.5 MB, free: 47.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3196, allocations: 7.062 kB / 497.5 MB, free: 47.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.3216, allocations: 2.316 MB / 499.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.3218, allocations: 272.8 kB / 0.4884 GB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.31e-05/0.3219, allocations: 38.66 kB / 0.4884 GB, free: 46.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.3222, allocations: 35.23 kB / 0.4885 GB, free: 46.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.3223, allocations: 79.33 kB / 0.4885 GB, free: 46.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.3223, allocations: 39 kB / 0.4886 GB, free: 46.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003789/0.3227, allocations: 0.5229 MB / 0.4891 GB, free: 45.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3227, allocations: 0 / 0.4891 GB, free: 45.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003102/0.3258, allocations: 1.413 MB / 0.4905 GB, free: 45.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,10), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002945/0.3287, allocations: 1.629 MB / 0.4921 GB, free: 45.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.33, allocations: 1.033 MB / 0.4931 GB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.33, allocations: 3.688 kB / 0.4931 GB, free: 45.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.3306, allocations: 0.6676 MB / 0.4937 GB, free: 45.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.3318, allocations: 0.5054 MB / 0.4942 GB, free: 44.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.3351, allocations: 3.12 MB / 0.4973 GB, free: 43.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.3353, allocations: 381.9 kB / 0.4976 GB, free: 43.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006266/0.3359, allocations: 0.5627 MB / 0.4982 GB, free: 43.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.3361, allocations: 95.69 kB / 0.4983 GB, free: 43.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3361, allocations: 1.094 kB / 0.4983 GB, free: 43.02 MB / 410.7 MB Notification: Performance of Templates: time 0.04931/0.3854, allocations: 57.68 MB / 0.5546 GB, free: 5.547 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumesPressureStates/TestMixingVolumesPressureStates.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.012842112220824]