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.001235/0.001235, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001428/0.001428, allocations: 169.3 kB / 24.82 MB, free: 9.273 MB / 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.9601/0.9601, allocations: 177 MB / 205.1 MB, free: 5.488 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.2833/0.2833, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 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.503e-06/1.503e-06, allocations: 0 / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.976e-05, allocations: 3.156 kB / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.03093/0.03095, allocations: 18.68 MB / 397.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.04541, allocations: 15 MB / 412.9 MB, free: 32 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007426/0.04615, allocations: 47.67 kB / 413 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.04686, allocations: 345.4 kB / 413.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.05716, allocations: 5.352 MB / 418.6 MB, free: 10.27 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.06133, allocations: 2.462 MB / 421.1 MB, free: 7.801 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002195/0.06352, allocations: 3.069 MB / 424.2 MB, free: 4.723 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005769/0.0641, allocations: 0.7474 MB / 424.9 MB, free: 3.965 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.06716, allocations: 3.113 MB / 428 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007013/0.07418, allocations: 7.444 MB / 435.5 MB, free: 9.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.07433, allocations: 112 kB / 435.6 MB, free: 9.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009227/0.08356, allocations: 7.3 MB / 442.9 MB, free: 1.852 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.08384, allocations: 426.6 kB / 443.3 MB, free: 1.434 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.08424, allocations: 0.4989 MB / 443.8 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1553/0.2396, allocations: 6.415 MB / 450.2 MB, free: 65.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2396, allocations: 2.812 kB / 450.2 MB, free: 65.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2396, allocations: 0 / 450.2 MB, free: 65.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.2396, allocations: 4.094 kB / 450.2 MB, free: 65.26 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.002699/0.2423, allocations: 2.159 MB / 452.4 MB, free: 64.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2423, allocations: 9 kB / 452.4 MB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.2447, allocations: 0.8078 MB / 453.2 MB, free: 64.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007031/0.2454, allocations: 0.7323 MB / 453.9 MB, free: 63.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.2455, allocations: 312.9 kB / 454.2 MB, free: 63.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.2456, allocations: 115.7 kB / 454.4 MB, free: 63.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.2472, allocations: 1.791 MB / 456.1 MB, free: 62.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.2473, allocations: 9.094 kB / 456.2 MB, free: 62.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.2473, allocations: 47.28 kB / 456.2 MB, free: 62.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.2474, allocations: 50.06 kB / 456.2 MB, free: 62.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.2486, allocations: 0.8863 MB / 457.1 MB, free: 62.68 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.003847/0.2525, allocations: 7.171 MB / 464.3 MB, free: 57.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.2537, allocations: 0.777 MB / 465.1 MB, free: 57.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.2539, allocations: 196.8 kB / 465.3 MB, free: 57.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01373/0.2676, allocations: 8.667 MB / 473.9 MB, free: 57.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2676, allocations: 50.92 kB / 474 MB, free: 57.06 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003784/0.268, allocations: 93.31 kB / 474.1 MB, free: 57.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/0.268, allocations: 0 / 474.1 MB, free: 57.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.003965/0.272, allocations: 2.412 MB / 476.5 MB, free: 56.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.272, allocations: 114.2 kB / 476.6 MB, free: 56.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.2725, allocations: 0.774 MB / 477.4 MB, free: 56.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.2726, allocations: 40.8 kB / 477.4 MB, free: 56.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.2728, allocations: 0.6443 MB / 478.1 MB, free: 55.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.2729, allocations: 288.7 kB / 478.3 MB, free: 55.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.2732, allocations: 294.8 kB / 478.6 MB, free: 55.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2733, allocations: 0.5861 MB / 479.2 MB, free: 55.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.2736, allocations: 189.1 kB / 479.4 MB, free: 55.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.2741, allocations: 1.065 MB / 480.5 MB, free: 53.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008834/0.275, allocations: 1.303 MB / 481.8 MB, free: 52.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.275, allocations: 6.125 kB / 481.8 MB, free: 52.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001476/0.2765, allocations: 1.232 MB / 483 MB, free: 52.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2765, allocations: 13.62 kB / 483 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.2765, allocations: 19.56 kB / 483 MB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.2777, allocations: 497.3 kB / 483.5 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.2781, allocations: 243.3 kB / 483.8 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008891/0.279, allocations: 1.967 MB / 485.7 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.2794, allocations: 61.22 kB / 485.8 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/0.2795, allocations: 65.05 kB / 485.9 MB, free: 51.16 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,mixingVolume1.inFlow[1],mixingVolume1.inFlow[2],mixingVolume2.inFlow[1],mixingVolume2.inFlow[2],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[1],simpleGenericOrifice2.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice1.state_b.phase) * 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.000228/0.2797, allocations: 265.5 kB / 486.1 MB, free: 50.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.2799, allocations: 120.4 kB / 486.2 MB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00275/0.2826, allocations: 2.688 MB / 488.9 MB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.331e-05/0.2827, allocations: 57.52 kB / 489 MB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2827, allocations: 2.312 kB / 489 MB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.2827, allocations: 7.5 kB / 489 MB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003123/0.2858, allocations: 3.459 MB / 492.4 MB, free: 49.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2858, allocations: 3.938 kB / 492.4 MB, free: 49.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.2861, allocations: 132.4 kB / 492.6 MB, free: 49.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008359/0.2869, allocations: 0.4953 MB / 493.1 MB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.2869, allocations: 24.05 kB / 493.1 MB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005668/0.2875, allocations: 1.842 MB / 494.9 MB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2875, allocations: 3.125 kB / 494.9 MB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.2894, allocations: 2.137 MB / 497.1 MB, free: 47.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.2896, allocations: 268.1 kB / 497.3 MB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.2897, allocations: 40.25 kB / 497.4 MB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2899, allocations: 29.67 kB / 497.4 MB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.29, allocations: 80.45 kB / 497.5 MB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.2901, allocations: 28.33 kB / 497.5 MB, free: 47.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003716/0.2904, allocations: 495.5 kB / 498 MB, free: 47.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2904, allocations: 4 kB / 498 MB, free: 47.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003363/0.2938, allocations: 1.417 MB / 499.4 MB, free: 47.23 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.003804/0.2976, allocations: 1.663 MB / 0.4893 GB, free: 46.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.2987, allocations: 0.9107 MB / 0.4902 GB, free: 46.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2987, allocations: 0 / 0.4902 GB, free: 46.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005089/0.2992, allocations: 0.6045 MB / 0.4908 GB, free: 46.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3003, allocations: 0.497 MB / 0.4913 GB, free: 46.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.3034, allocations: 3.071 MB / 0.4943 GB, free: 45.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3037, allocations: 380.8 kB / 0.4947 GB, free: 45.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006604/0.3044, allocations: 0.5008 MB / 0.4952 GB, free: 45.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/0.305, allocations: 477.7 kB / 0.4956 GB, free: 45.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.305, allocations: 0 / 0.4956 GB, free: 45.23 MB / 410.7 MB Notification: Performance of Templates: time 0.06748/0.3725, allocations: 65.22 MB / 0.5593 GB, free: 1.828 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: 5.327083151321858]