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.001495/0.001495, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001756/0.001756, allocations: 160.5 kB / 24.56 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.9723/0.9723, 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.2574/0.2574, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.513e-06/1.513e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.763e-05, allocations: 4.703 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.01676/0.01679, allocations: 18.91 MB / 397.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01577/0.03256, allocations: 15.25 MB / 412.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.0339, allocations: 39.62 kB / 413 MB, free: 15.76 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009037/0.03481, allocations: 349.5 kB / 413.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01358/0.04839, allocations: 5.352 MB / 418.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005589/0.05398, allocations: 2.458 MB / 421.1 MB, free: 7.582 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003542/0.05752, allocations: 3.069 MB / 424.2 MB, free: 4.504 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.05879, allocations: 0.7435 MB / 424.9 MB, free: 3.75 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004954/0.06375, allocations: 3.117 MB / 428 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009388/0.07313, allocations: 7.447 MB / 435.5 MB, free: 9.047 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003251/0.07346, allocations: 112 kB / 435.6 MB, free: 8.938 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.08497, allocations: 7.304 MB / 442.9 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005107/0.08548, allocations: 426.6 kB / 443.3 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009108/0.08639, allocations: 0.495 MB / 443.8 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1703/0.2567, allocations: 6.41 MB / 450.2 MB, free: 64.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2567, allocations: 5.25 kB / 450.2 MB, free: 64.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2567, allocations: 0 / 450.2 MB, free: 64.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.132e-05/0.2567, allocations: 0 / 450.2 MB, free: 64.88 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.004372/0.2611, allocations: 2.16 MB / 452.4 MB, free: 63.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2611, allocations: 9.281 kB / 452.4 MB, free: 63.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.2637, allocations: 0.8066 MB / 453.2 MB, free: 63.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009687/0.2647, allocations: 0.7561 MB / 454 MB, free: 63.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.2649, allocations: 314.8 kB / 454.3 MB, free: 63.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.265, allocations: 106.5 kB / 454.4 MB, free: 63.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.2672, allocations: 1.875 MB / 456.2 MB, free: 62.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.2672, allocations: 6.125 kB / 456.3 MB, free: 62.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.2673, allocations: 48.09 kB / 456.3 MB, free: 62.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/0.2673, allocations: 45.16 kB / 456.3 MB, free: 62.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.2691, allocations: 1.022 MB / 457.4 MB, free: 62.31 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.004975/0.274, allocations: 7.352 MB / 464.7 MB, free: 57.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.2755, allocations: 0.8166 MB / 465.5 MB, free: 57.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.2758, allocations: 223.5 kB / 465.8 MB, free: 57.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01635/0.2921, allocations: 9.732 MB / 475.5 MB, free: 56.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/0.2922, allocations: 44.98 kB / 475.5 MB, free: 56.57 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005716/0.2927, allocations: 98.84 kB / 475.6 MB, free: 56.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 3.957e-06/0.2927, allocations: 6.406 kB / 475.6 MB, free: 56.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.005499/0.2982, allocations: 2.666 MB / 478.3 MB, free: 56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.2983, allocations: 112.3 kB / 478.4 MB, free: 55.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008562/0.2991, allocations: 0.7838 MB / 479.2 MB, free: 55.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.2992, allocations: 43.42 kB / 479.2 MB, free: 55.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.2995, allocations: 0.639 MB / 479.9 MB, free: 55.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.2996, allocations: 295.4 kB / 480.2 MB, free: 55.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.2999, allocations: 285.8 kB / 480.4 MB, free: 54.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3001, allocations: 0.5764 MB / 481 MB, free: 54.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.3005, allocations: 225.7 kB / 481.2 MB, free: 54.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.3011, allocations: 1.098 MB / 482.3 MB, free: 53.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.3022, allocations: 1.365 MB / 483.7 MB, free: 52.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.3023, allocations: 5 kB / 483.7 MB, free: 52.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002009/0.3043, allocations: 1.321 MB / 485 MB, free: 52.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.3043, allocations: 13.84 kB / 485 MB, free: 52.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/0.3043, allocations: 19.56 kB / 485.1 MB, free: 52.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/0.3057, allocations: 0.5058 MB / 485.6 MB, free: 52.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.3062, allocations: 246.3 kB / 485.8 MB, free: 52.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.3074, allocations: 1.996 MB / 487.8 MB, free: 50.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.3079, allocations: 63.22 kB / 487.9 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.802e-05/0.308, allocations: 81.52 kB / 487.9 MB, free: 50.55 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.0002852/0.3083, allocations: 254.1 kB / 488.2 MB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.3084, allocations: 125.1 kB / 488.3 MB, free: 50.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002872/0.3113, allocations: 2.862 MB / 491.2 MB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.08e-05/0.3114, allocations: 58.44 kB / 491.2 MB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3114, allocations: 0 / 491.2 MB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.3114, allocations: 9.047 kB / 491.2 MB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.3148, allocations: 3.797 MB / 495 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3148, allocations: 3 kB / 495 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.315, allocations: 129.7 kB / 495.2 MB, free: 48.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007486/0.3158, allocations: 408.3 kB / 495.6 MB, free: 48.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/0.3158, allocations: 24.84 kB / 495.6 MB, free: 48.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007061/0.3165, allocations: 1.871 MB / 497.5 MB, free: 47.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3165, allocations: 3.938 kB / 497.5 MB, free: 47.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.3186, allocations: 2.313 MB / 499.8 MB, free: 46.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.319, allocations: 276.2 kB / 0.4883 GB, free: 46.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.3191, allocations: 38.12 kB / 0.4884 GB, free: 46.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.3193, allocations: 40.59 kB / 0.4884 GB, free: 46.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.3195, allocations: 76.62 kB / 0.4885 GB, free: 46.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.3195, allocations: 38.94 kB / 0.4885 GB, free: 46.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004763/0.32, allocations: 0.5177 MB / 0.489 GB, free: 46.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.32, allocations: 0 / 0.489 GB, free: 46.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003863/0.3239, allocations: 1.414 MB / 0.4904 GB, free: 45.84 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.004231/0.3281, allocations: 1.639 MB / 0.492 GB, free: 45.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.3298, allocations: 1.031 MB / 0.493 GB, free: 45.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3299, allocations: 0 / 0.493 GB, free: 45.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.3306, allocations: 0.6626 MB / 0.4937 GB, free: 45.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.332, allocations: 0.5053 MB / 0.4941 GB, free: 45.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.3356, allocations: 3.133 MB / 0.4972 GB, free: 43.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3358, allocations: 377.5 kB / 0.4976 GB, free: 43.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007004/0.3365, allocations: 0.5502 MB / 0.4981 GB, free: 43.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3366, allocations: 103.3 kB / 0.4982 GB, free: 43.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.3366, allocations: 0 / 0.4982 GB, free: 43.09 MB / 410.7 MB Notification: Performance of Templates: time 0.06383/0.4005, allocations: 66.32 MB / 0.563 GB, free: 12.97 MB / 442.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.411192220170051]